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.1. FIRST-ORDER MODELS 153<br />

tion density at time t>0andk>0 the rate of reproduction. If k is taken to<br />

be a constant, the following linear yeast equation, YE, results:<br />

> YE:=diff(N(t),t)=k*N(t);<br />

YE := d<br />

N (t) =k N (t)<br />

dt<br />

This growth equation is historically known as Malthus's law, named in honor<br />

of Thomas Malthus (1766{1834), who published a pamphlet (entitled Essay on<br />

Population) on population growth in 1798. Although Heather can solve this<br />

simple linear ODE in her head, she lets Maple generate the solution, subject to<br />

the initial condition N (0) = No.<br />

> ic:=N(0)=No;<br />

ic := N (0) = No<br />

> sol:=dsolve(fYE,icg,N(t));<br />

sol := N (t) =No e (kt)<br />

Malthus's law leads to exponential growth of the yeast population density.<br />

Having read The Andromeda Strain, Heather is curious as to how many<br />

Escherichia coli there would be at the end of 24 hours if the exponential solution<br />

prevailed. According to the Crichton quotation, the doubling time is<br />

20 minutes, or 1=3 of an hour. In the following command line, Heather takes<br />

N(t =1=3)=No = 2 in the exponential solution,<br />

> eq:=2=exp(k/3); #time in hours<br />

k<br />

(<br />

eq := 2 = e 3 )<br />

and numerically solves for the reproductive rate constant, labeled k1 .<br />

> k1:=fsolve(eq,k);<br />

k1 := 2:079441542<br />

Using the Malthus solution, at the end of 24 hours the number of E. coli would<br />

have grown from a single bacterium (No =1),<br />

> Number:=1*exp(k1*24); #in 24 hours<br />

Number := 0:4722366529 1022 to about 1022 bacteria. Talk about explosive growth! Heather wonders how<br />

accurate the Malthus solution is. After all, she need not have formulated the E.<br />

coli growth as a continuous-time ODE, but instead could calculate the growth<br />

directly. In a 24-hour period there would be 24 £ 3 = 72 doublings. At the end<br />

of 24 hours, the number of E. coli is given by the output of the following line:<br />

> Number2:=2^(24.0*3);<br />

Number2 := 0:4722366483 1022 The two numbers di®er only in the eighth decimal place.<br />

Although 1022 E. coli is a large number, Heather notes that since an E. coli<br />

bacterium weighs about 10 ¡12 gm, their total weight is only 10 10 gm, much less<br />

than the 6 £ 1027 gm weight of the earth. Crichton's conclusion seems wrong.

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

Saved successfully!

Ooh no, something went wrong!