16.12.2012 Views

Computer Algebra Recipes

Computer Algebra Recipes

Computer Algebra Recipes

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.1. PHASE-PLANE ANALYSIS 77<br />

Next, Eiram will show the time evolution of the two animal populations.<br />

First she uses the textplot commandtocreatenamelabelstobeaddedtothe<br />

¯nal ¯gure.<br />

> tp:=textplot([[1.2,1.1,"sung"],[1.2,2,"gnus"]]):<br />

She then uses the display command and the functional operator F to produce<br />

Figure 2.17, showing the temporal evolution of the gnus and sung populations<br />

for a period of two years. On the computer screen the gnus' population density<br />

is colored red, the sung's population density blue.<br />

> display(fF(t,g,red),F(t,s,blue),tpg,labels=["t",""],<br />

tickmarks=[3,3],view=[0..2,0..3]);<br />

3<br />

2<br />

1<br />

0<br />

gnus<br />

sung<br />

1 t 2<br />

Figure 2.17: Temporal evolution of gnus and sung.<br />

So Eiram concludes that if all conditions remain the same, then the two groups<br />

will ultimately live in relative harmony with each other, since both gnus and<br />

sung survive. However, she notes that the gnus will gain the upper hand in<br />

terms of population density over their more backward relatives, even though<br />

initially the density of sung was twice that of the gnus.<br />

PROBLEMS:<br />

Problem 2-10: Create your own model<br />

Create your own complicated model of the gnus{sung interaction by modifying<br />

the last term in each of the equations. Follow the procedure in the text recipe<br />

and determine the fate of the two populations in your model. Feel free to<br />

experiment with parameter values and initial conditions.

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

Saved successfully!

Ooh no, something went wrong!