MaplePrimes Questions

Search Questions:

Latest Questions Latest Questions Feed

Hi everybody


p.276 from the advanced programming guide: example 2 line 11

> r := z = -3 .. 3;

                              r := z = -3 .. 3
> minz:=lhs('if'(r::range,r,rhs(r)));

Error, unable to match delimiters

I encounter a similar  problem of parsing once:


I thought before that &where is not  a keyword, but I don't understand the difference here (I found &where in the solutions of pdes):

f1:=a &where b;

it gives me {b}

f2:=a &something b;

gives me simply b

I don't find any information on &where in the help.









Hi all..

After i evaluated an answer using matrices..the resulting answer is stored in a Matrix..but im not able to see the anwers instead it displays...11 x 1 Rectangular..Order: Fortran Order...wat to do to make the results display?


I’m using maple 11. In my problem, I’ve five axioms: 

I have tried unsuccessfully to follow the help but cannot figure it out.

I am using Maple 12 Standard with Windows XP.   I found the palette "Diacritical Marks" so I can make an umlaut and a u. I have tried various combinations of Crtl+R, Crtl + Shift, Ctrl + Alt  +O but wasn't able to find the right combination.  Could someone please tell me the right key stroke sequence.  I can manage to get the umlaut over the u, but it is too high up. :-(




Is there a way to generate a parametric curve that includes the orientation?  i.e. an arrow or series of arrows?


I solved the homogeneous differential equation of a damped oscillator ((D@@2)(x))(t)+d*(D(x))(t)+k^2*x(t) = A*sin(omega*t) with maple, the output is:

x(t) = _C1*exp((-(1/2)*d+(1/2)*sqrt(d^2-4*k^2))*t)+_C2*exp((-(1/2)*d-(1/2)*sqrt(d^2-4*k^2))*t)

Now, as there is damping, the limit for t->infinity shoud be 0. I substituted:

hommod := subs(d^2-4*k^2 = Delta, rhs(l_hom))

 Then, I tried the limit(hommod, t = infinity) command for the three cases

It's been half an hour that I am looking to the example 5 and I can't figured how you can state that x run from 1 to 3 and y from 1 to 2 just by looking at LL.  If I undestand this, I will know how to write those twelve points.

Does anyone would have the patience to explain it to me?


Thanks in advance.



i am deriving lagrangian shape function symbolically for an 1-D element of order p in the eleemnt will have p+1 nodes....


                                   N(k,i) = product((X-Xother)) / product(Xcurrent-Xother)

de := diff(theta(t), `$`(t, 2))+c*(diff(theta(t), t))+9.8*sin(theta(t))/L = 0; c := 2; L := 2;
init := theta(0) = 0, (D(theta))(0) = 4;
sol := dsolve({de, init}, theta(t), numeric, output=listprocedure);
Theta := subs(sol, theta(t));
plots[animate](plots[arrow],[[0,0],[L*sin(Theta(t)),-L*cos(Theta(t))],colour=red],t=0..5, axes=none,scaling=constrained);

these lines of codes were posted by robert Israel in one of his posts.

As I understand to plot a surface in spherical coordinates we most establish the function relationship of  the radius in terms of theta and phi.  Then using plot3d and specifying coords=spherical gives you surface.  How does one do this for a cone:

Hi, people say that for-next loops are the worst way to apply repeated operations (why?). Assume i have the list


and the command line that does some stuff in it :

for i from 1 to nops(L)-1 do
 end do;

Whats a better way to do this? I guess map is useful here, but i cant get it to work.











How do i solve differential equations using Maple.

For example:

dx/dt+(1-cos(t))*x = exp(sin(t))

First 787 788 789 790 791 792 793 Last Page 789 of 993