16.12.2012 Views

Computer Algebra Recipes

Computer Algebra Recipes

Computer Algebra Recipes

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1.1. PHASE-PLANE PORTRAITS 31<br />

de4 := d<br />

x(¿) =y(¿)<br />

d¿<br />

μ<br />

d<br />

de5 := (x (¿) ¡ 1) (x (¿)+1)² y(¿)+x (¿)+<br />

d¿ y(¿)<br />

<br />

=0<br />

With a =0:05 entered for the tunnel diode 1N3719, a necessary condition for<br />

a limit cycle to occur is that ²>0orR>1=a =1=0:05 = 20 ohms. We take<br />

R =55ohms,L =25:0 £ 10 ¡3 henries, and C =10 ¡6 farads, and calculate !<br />

and ².<br />

> a:=0.05: R:=55: L:=25.0*10^(-3): C:=10^(-6):<br />

> omega:=1/sqrt(L*C); epsilon:=(a*R-1)/(omega*C*R);<br />

! := 6324:555320 ² := 5:030896278<br />

The VdP equation has a ¯xed point at the origin of the y vs. x phase plane.<br />

Let's choose an initial condition close to this point, viz., x(0) = 0:1, y(0) = 0.<br />

> ic:=x(0)=0.1,y(0)=0:<br />

Instead of plotting the trajectory in two dimensions using either the DEplot<br />

or phaseportrait commands, the solution curve corresponding to the initial<br />

condition can be drawn in the three-dimensional ¿ vs. x vs. y space using<br />

DEplot3d with the option scene=[tau,x,y]. The line color of the trajectory<br />

is allowed to vary with ¿. The resulting trajectory appears in a 3-dimensional<br />

viewing box similar to that shown in Figure 1.11. The viewing box can be<br />

rotatedonthecomputerscreen,byclickingontheboxanddraggingwiththe<br />

> DEplot3d([de4,de5],[x(tau),y(tau)],tau=0..60,<br />

scene=[tau,x,y],[[ic]],stepsize=0.01,linecolor=tau);<br />

y<br />

4<br />

0<br />

–4<br />

–2<br />

–1<br />

x<br />

0<br />

1<br />

2<br />

0<br />

10<br />

20<br />

30<br />

40 t<br />

50<br />

60<br />

Figure 1.11: Evolution of the VdP trajectory onto a limit cycle.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!