{VERSION 5 0 "APPLE_PPC_MAC" "5.0" } {USTYLETAB {CSTYLE "Maple Input" -1 0 "Courier" 0 1 255 0 0 1 0 1 0 0 1 0 0 0 0 1 }{PSTYLE "Normal" -1 0 1 {CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }{PSTYLE "Heading 1" 0 3 1 {CSTYLE "" -1 -1 "" 1 18 0 0 0 0 0 1 0 0 0 0 0 0 0 0 }1 0 0 0 8 4 0 0 0 0 0 0 -1 0 }} {SECT 0 {EXCHG {PARA 0 "" 0 "" {TEXT -1 21 "Problem 1.2 - Bobcats" }}} {SECT 0 {PARA 3 "" 0 "" {TEXT -1 58 "Part 1: The tracking of three typ es of Bobcat populations:" }}{EXCHG {PARA 0 "" 0 "" {TEXT -1 15 "Numbe r of years" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 6 "N:=10;" }}} {EXCHG {PARA 0 "" 0 "" {TEXT -1 24 "Initial population sizes" }}} {EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 41 "pop1[1]:=100: pop2[1]:=100: \+ pop3[1]:=100:" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 70 "The annual growt h rates for the three populations (from best to worst)" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 46 "rate1:=0.01676: rate2:=0.00549: rat e3:=-0.045:" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 71 "Let the three popu lations grow for N years independently of each other." }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 121 "for t from 1 to N do\n pop1[t+1]:= pop1[t]*(1+rate1);\n pop2[t+1]:=pop2[t]*(1+rate2);\n pop3[t+1]:=pop3[t ]*(1+rate3);\nend do:" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 32 "Plot the three population sizes." }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 359 "size1:= [[ 2002+n-1, pop1[n]] $n=1..N+1]:\nsize2:= [[ 2002+n-1, p op2[n]] $n=1..N+1]:\nsize3:= [[ 2002+n-1, pop3[n]] $n=1..N+1]:\nplot([ size1, size2, size3], style=point, symbol=[box, cross, circle], title= \"The sizes of three Bobcat populations\", legend=[\"Best population g rowth\", \"Medium population growth\", \"Worst population growth\"], l abels=[time,population]);" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}}}}{MARK "2" 0 }{VIEWOPTS 1 1 0 1 1 1803 1 1 1 1 }{PAGENUMBERS 0 1 2 33 1 1 }