Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi,

The subs command is not working properly for Vector type, see worksheet.

I can use simplify instead, but that's not what I really wanted.

Download vsubs.mw

 

Casper

I've used fsolve in Maple 6 to find the roots (real and complex) of a polynomial.  I'd like to create a plot showing the location of those roots in the complex plane.  How can I do this?

Hi

I want to creat a vector that every of it's element are a function of for example 't'.

for example:

I'm sharing this in the hope it might help someone (my future self being the most likely). Since my suggestions are not perfect and a little messy, feel free to suggest better ways.

I spend a great deal of time tweaking my plots. Oftentimes I want to add labels to the curves right onto the plot. Most of the time it's easy to do. Occasionally I struggle. Sometimes I succeed, sometimes I give up.

Below is an example of the kind of plot I sometimes create. It's not perfect.

Hi,

 

How would you go about checking whether a vector is a scalar multiple of another in the set? eg. my set is {[-2, 1, 1, -2, 1, 1], [-2, 1, 1, 2, -1, -1], [0, -1, 1, 0, 1, -1], [0, 1, -1, 0, -1, 1]}. I need to get rid of one of the last two, since it is (-1) times the other.

 

What would be the most straightforward way of doing this? I've tried doing something along the lines of V1=c.V2 for each component and then checking...

Hi. I use a plot with the following options:

test1r2 :=(1/6)*(-144*x*y*z+36*x^2*y-432*z^3-432*z^2*x-108*x^2*z-432*y*z^2-64*y^3+24*sqrt(3)*sqrt(108*z^4+216*z^3*y+108*z^3*x+108*y^2*z^2+27*x^2*z^2+72*x*y*z^2+32*z*y^3+64*x^3*z-36*x*z*y^2-18*x^2*y*z-61*x^2*y^2+32*x^4+32*y^4)*z+12*sqrt(3)*sqrt(108*z^4+216*z^3*y+108*z^3*x+108*y^2*z^2+27*x^2*z^2+72*x*y*z^2+32*z*y^3+64*x^3*z-36*x*z*y^2-18*x^2*y*z-61*x^2*y^2+32*x^4+32*y^4)*x)^(1/3)/(2*z+x)-(4/3)*(6*x*z+3*x^2-2*y^2)/((2*z+x)*(-144*x*y*z+36*x^2*y-432*z^3-432*z^2*x-108*x^2*z-432*y*z^2-64*y^3+24*sqrt(3...

Hi,

I'm very new to Maple and need some help.

I have a Matrix with the structure

M:= Matrix([[2013-08-13T00:29:24+0000,"text1"],[2013-08-14T00:29:24+0000,"text2"],[2013-08-15T00:29:24+0000,"text1"],[2013-08-16T00:29:24+0000,"text1"]])

 

and would like to plot this. Now problem one obviously is, it contains a timestamp. How can I use this in Maple? Second problem is, "text1" is a string, so I cannot use plotlist because it can not be converted to a float.

Hi all,

I am having some problems when solving high order polynomials. When oders are 'high' and systems involve multiple variables, Maple is slow to do so.

See in worksheet for detailed codes.

slow.zip

kappa - gives the vector that i am interested in

sC - a reparameterisation which has 'summation' in it

Aim is to verify that it works (it should!)

I currently ask...

I have the following pde system: sys[1] := [(D[1](u))(t, x)-(1/2*(x-x^2))*(D[2, 2](u))(t, x)-(-5.02*x+4.51+.1*x*(1-x))*(D[2](u))(t, x) = 0, u(t, 0) = 0.1e-1, u(t, 0) = 0.1e-1].

And have tried different bc's (some with derivatives at the boundary) but still get the same error: Error, (in simpl/Im) too many levels of recursion.

Could you please tell me where I am going astray?

Thank you.

Murray

If I have spreadsheet data, x and y (velocity and time), I need to find distance.  I see numbers of ways to do this, however, I wonder what people would suggest as the fastest / easiest way.  I'm not needing a function really, just results.  Does Maple have tools to simplyify this process, and if not, what process(s) might yield results of determinable or selectable accuracy.  I will have many sets of data in the future that need to be manipulated...

How can I draw following piecewise closed function t in  3-dimensional cartesian space

D124:=max(-x+y+z,x-y+z,x+y-z)=1; 
D134:=max(-x+y+z,x-y+z,-x-y-z)=1;
D123:=max(-x+y+z,x+y-z,-x-y-z)=1;
D234:=max(x+y-z,x-y+z,-x-y-z)=1;

 

t:=piecewise(x>0 and y>0 and z>0,D124,x<0 and y<0 and z>0,D134,x<0 and y>0 and z<0,D123,x>0 and y<0 and z<0,D234);

When defining a polynomial as follows

p:=x->x^(r+1)-(r+1)*Sum((-1)^(r+k)*(r+k)!*(r+1)!*r!/((k!)^2*(r-k+1)!*(2*r+1)!)*x^k,k=0..r);

the result of

simplify((eval(p(1),r=1)));

is given as 1 whereas hand evaluation and also plotting the polynomial clearly shows that the result is 0. How can this behaviour be explained?

Hi,

How do I get ride of these Rootof?

I tried simplify,evala,value,Simplify and ect. Didnt really find anything useful.

Download rootof.mw

 

I dont care which root they actually take, all I want is one of the roots. So I can then use subs for substitution.

Casper

How can I draw following piecewise closed function in  3-dimensional cartesian space

t:=piecewise(x>0 and y>0 and z>0,D124,x<0 and y<0 and z>0,D134,x<0 and y>0 and z<0,D123,x>0 and y<0 and z<0,D234); 

 


         max(-x + y + z, x - y + z, x + y - z) = 1 ,  0 < x and 0 < y and 0 < z
         max(-x - y - z, -x + y + z, x - y + z...

First 1469 1470 1471 1472 1473 1474 1475 Last Page 1471 of 2255