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.

4.2. SECOND-ORDER MODELS 171<br />

In vel, the total energy is identi¯ed to be E =11=9. To get a qualitative feeling<br />

for the eardrum motion, Mike plots the potential energy U as a thick red line<br />

over the range x = ¡1:6 to0:6,<br />

> U:=plot(9*x^2+6*x^3,x=-1.6..0.6,color=red,thickness=2):<br />

and the total energy E as a thick green horizontal line between the points<br />

(x = ¡2; E=11=9) and (x =1;E=11=9).<br />

> E:=plot([[-2,11/9],[1,11/9]],style=line,color=green,<br />

thickness=2):<br />

The two energy curves are superimposed in Figure 4.6.<br />

> display(fU,Eg,tickmarks=[3,3],labels=["x","Energy"]);<br />

-1 x<br />

4<br />

Energy<br />

Figure 4.6: Asymmetric potential well for the eardrum model equation.<br />

The horizontal total energy line in Figure 4.6 intersects the potential energy<br />

curve at three x values. The two intersection points inside the potential well<br />

centered at x =0aretheturning points, the eardrum system oscillating between<br />

these two points if it is placed at one of these two points with zero velocity.<br />

The turning point on the right is the input value x(0) = A = 1<br />

3 . Because the<br />

potential well is slightly asymmetric, the other turning point on the left is not<br />

at x = ¡ 1.<br />

The other turning point is easily determined by ¯rst ¯nding all the<br />

3<br />

intersection points using the solve command.<br />

> points:=solve(vel=0,y);<br />

points := 1 11<br />

; ¡<br />

3 12 +<br />

p<br />

33 11<br />

; ¡<br />

12 12 ¡<br />

p<br />

33<br />

12<br />

Three solutions are produced, corresponding to the three intersection points<br />

of the total energy line with the potential energy curve. The ¯rst answer corresponds<br />

to the turning point on the far right, and the third answer to the<br />

intersection on the far left. So the second answer is selected as corresponding<br />

to the second turning point for motion inside the potential well. This turning<br />

point is labeled B.<br />

2<br />

0

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

Saved successfully!

Ooh no, something went wrong!