- #1
tqh
- 2
- 0
i need help on this part, does anyone have any idead about maple lab? I should get the cure and trajectories in the red rectangular. But i try to fix the points and range, i still didn't get it
http://img193.imageshack.us/img193/387/deqp.jpg
Modify the above commands to produce plots of the phase plane for the nonlinear and linear systems near (6, 2). There are no straight line trajectories to consider in this case..
http://img193.imageshack.us/img193/387/deqp.jpg
Code:
trange1 := -3..3: window1 := x=1..3,y=-3..-1:
inits1:=[[x(0)=2.5,y(0)=-1.5],[x(0)=1.5,y(0)=-1.5],[x(0)=1.5,y(0)=-2.5],
[x(0)=2.5,y(0)=-2.5],[x(0)=2+2.0/3.0,y(0)=-2+(3.0-sqrt(17.0))/3.0]]:
DEplot([dex,dey],[x(t),y(t)],t=trange1,inits1, window1,color=GREEN,
linecolor=[RED,BLUE,CYAN,PLUM,BLACK],thickness=2,stepsize=0.002,
title="Phase plane near (2,-2): nonlinear system");
F1:=4*u+0*v;
G1:=6*u+6*v;
dex1:=diff(x(t),t)=eval(F1,{u=x(t),v=y(t)});
dey1:=diff(y(t),t)=eval(G1,{u=x(t),v=y(t)});
DEplot([dex1,dey1],[x(t),y(t)],t=trange2,inits2, window1,color=GREEN,linecolor=[RED,BLUE,CYAN,PLUM,YELLOW],thickness=2,stepsize=0.002,
title="Phase plane near (0,0): linearized system");
Modify the above commands to produce plots of the phase plane for the nonlinear and linear systems near (6, 2). There are no straight line trajectories to consider in this case..
Last edited by a moderator: