Items tagged with second second Tagged Items Feed

Hi every body:

i have a second order ode and will convert to two ode of first order with maple,how do this work???

eq := diff(y(x), x, x)+2*y(x)+y(x)^2 = 0

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(x2); then 'right-click-on-graph' -> axes -> create second axis the same as plots[dualaxisplot](x2,x2) ?

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

Page 1 of 1