Hi

I have a system of second order differential equation to be solved numerically. I would like to set up events to halt integration to find the values of phi when r(phi)=2/3 . Here is my code

DE:=diff(1/r(phi),phi,phi)+(1/r(phi))=(G*M/h^2)+(3*G*M/c^2*r(phi)^2));

ics:=r(0)=2/3,D(r)(0)=0;G:=1;M:=1;h:=1;c:=1;

p:=dsolve({DE,ics},numeric,events=[[r(phi),r(phi),halt]],[diff(r(phi),phi)=0,halt]]);

The code only works for the second event so it halts for r(phi)=1.63... etc

How do i stop this?

Thanks for any help.

Hey all new to Maplesoft my question is this;

> seconddegree:= proc(a,b,c)

if a=0 then if b=0 and c=0 then print ('infinite solutions')

elif b=0 and c<>0 then print ('impossible')

elif b<>0 and c<>0 then print (' one solution',x=-(c)/(b))fi;

delta:=b^(2)-4 *a*c;

elif if delta=0 then print('double solution',x=-b/(2 a))

elif delta >0 then print ('exist two solutions',x1=((-b+sqrt(delta...

Hi, I have the following

for i from 1 to 100 do x[i]:=cos(θ[i]); y[i]:=sin(θ[i]) end do;

Now I want to find the first and second derivatives for x[i] and y[i] which are

for i from 1 to 100 do x1dot[i]:=-sin(θ[i]); y1dot[i]:=cos(θ[i]);

...

Just curious, something simple really

In standard Maple, is plot(x^{2}); then 'right-click-on-graph' -> axes -> create second axis the same as plots[dualaxisplot](x^{2},x^{2}) ?

If so, why wasn't a secondaxis=true/false option made available in the command line?

You must be logged into your Facebook account in order to share via Facebook.

Click the button below to share this on Google+. A new window will open.

You must be logged in to your Twitter account in order to share. Click the button below to login (a new window will open.)

Please log-in to your MaplePrimes account.

Wrong Email/Password. Please try again.