Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I get a data of string type from .txt file,but i want to use the data from string type to float tpye in my program,In fact ,i had tried in many methods,convert,sscanf,type etc.but, i coundnt solve this problem until now.if u know,please tell me how can i do.

example:

x:="0.01"⇒x=0.01

Assuming I have an expression, 'F', I would like to extract from it a factor, 'a', so the expression is displayed as

a*(F/a)

where F/a is a simplified (or expanded or any other displayed form) expression.

As an example:

F:=1 + Q*x2 + P*x3

a:=x2 / L2

then this will be displayed

x2 / L2 * ( L2 / x2 + Q*L2 + P*L2*x)

This doesn't seem to work in Maple 13 and 14.  However it works in Maple 12.
All I get is a static animation plot.

with(plots):
animate(pointplot3d,[[[1,2,3],[4,5,3],[2,2,2]],color=blue,orientation=[45,A]],A=45..315);


What am I doing wrong?

Hi

I started my university project 5 months ago and working with maple from that time.

I used maple help to solve my problem but for this one I could not.

I have equation system with 4 equations and variables are for example x y z w .

The problem is I  have  xy  x^2  x^3  yw   in my equations so maple with solve could not solve that.

On the other hand,the equation are parametric and non numeric...

Hi, can someone tell me how to approach converting an expression is z to one in powers of z^-1?

For example, express f(z) = z/(z-1) as 1/(1-z^-1) ?

 

Thanks

I have a inserted code-edit region in Maple-14.
The first line says restart: and then I have some data.

When I collapse the code edit region is says restart: beside the icon.
I dont understand why Maplesoft has not fixed such a "leak" ?

For me such small things are highly important because when you
use maple on a daily basis such small inconsistencies will give grow you a cancer.

Another thing, why cant I programmaticaly load a matrix with data into a code

There's a bug when using colorstyle=HUE.  Maple isn't displaying the proper number color values.

restart;
with(plots):

a:=Matrix(1..4,1..4,rand(1..4)):

listdensityplot(a)

listdensityplot(a,colorstyle=HUE)

The colorstyle=HUE only shows 3 colors (value 1 = value 4) but it seems ok in the greyscale plot (4 different values, 4 different shades).  Seems to me like the HUE scale is n-1 number of values short. 

Looks like a bug? 

Why is the same density plot displayed differently between 2d and 3d?  I am using the transform command from plottools so I suspect that's the way it works, however I prefer the way it looks in 2d.  Is there a way to keep it the looking the same in 3d? 

Maybe it will be fixed in an update?  Maybe an alternate way exists?  Take a look

Hello.

I have a recurrence function that is defined as:

f2m+1(r) = (2m+1)*f2m(r)/a - r2m+1*exp(-a*r)/a
f1( r) = -(1+a*r)*exp(-a*r)/a2

I tried to solve this...

This first example command

solve({(x-1)/(2*(x-2)) = 2/(x^2-4)+2*(1/2)}, {x})

will be x=-1.

The second example command

solve({(x-1)/(2*(x-2)) = 2/(x^2-4)+1/2}, {x})

won't give me any answer. I know that there is no solution (in sense x=2 for example) for the second math problem.

How can I tell mapple to show me that x=2 ? (even if it's not inside the definition sum R)

Or, if the simplyfication of the equation would be something like x = x + 2 ...

Hi, all,

I am wondering whether Maple have the capacity to compute boolean operations containing variables. 

For example, I want to compute (a1*b0)xor(a0*b1), is there a way to do that. I know Maple has "Xor" command to compute the xor of two given numbers. Is there a way to do that over variables?

 

thanks a lot 

Gepo

Hello, I am solving an ODE numerically with maple. The output is an array of the form, for example: sol(0) = [t = 0., z(t) = 0., diff(z(t), t) = 0.] Now, I can access the three sections like: sol(0)[2] = z(t) = 0. But I just want the number. How do I access just the 0, in this case?

I have a function (procedure) of one real variable that returns a list of 2 real numberssay f(x)=[y1,y2].  The procedure involves a lot of looping, so it's a little slow.  My questions regards efficiently plotting this function.  y1 and y2 typically differ widely, so plotting both outputs on the same plot renders the smaller one useless (essentially looks like the zero function).  (I.e. plot(f(x),x=0..10)).  But if I use 2 distinct plot commands, the...

I used to know.  But I can't find it with google and I can't remember how to do it. 

In animate how do I blank out the numbers at the top of an animation plot?

I am trying to learn more about certain maple functions using:

interface(verboseproc=2):
readlib(fsolve); #for example

This works well, but sometimes the function calls something else that I don't quite understand. An example for fsolve is when it has decided to use Newton's method:

#this is taken somewhere from inside the fsolve procedure

sol:='fsolve/sysnewton'(eqs,[r])

 

I can't figure out how to view the code for this...

First 1780 1781 1782 1783 1784 1785 1786 Last Page 1782 of 2224