{VERSION 2 3 "APPLE_68K_MAC" "2.3" } {USTYLETAB {CSTYLE "Maple Input" -1 0 "Courier" 0 1 255 0 0 1 0 1 0 0 1 0 0 0 0 }{CSTYLE "" -1 256 "" 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 } {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 -1 -1 -1 0 0 0 0 0 0 -1 0 }{PSTYLE "" 0 256 1 {CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 }3 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }} {SECT 0 {EXCHG {PARA 256 "" 0 "" {TEXT -1 65 "Exponential Models with \+ Immigration -- Stretch Your Understanding" }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 91 "The cell below looks at one partic ular price model based on the law of supply and demand. " }{TEXT 256 127 "Evaluate it now and then use it as the basis for answer the quest ions in the Stretch Your Understanding section of this module." }} {PARA 0 "" 0 "" {TEXT -1 0 "" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 383 "k := 0.0001:\n\nsupply := p -> 500 * (p - 0.50):\ndemand := p - > 1000 * (2 - p):\nfcn := p -> p + k * (demand(p) - supply(p)):\n\npri ce := proc(n)\n if n = 1 then 1.00 else fcn(price(n - 1)) fi\n end:\n\nfor j from 1 to 20 \n do printf(`%4d %10.4f`, j, price(j));\n print();\n od;\n\nplot([seq([n, price(n)], n = 1 .. 20)], \n year = 1 .. 20, title = `Price`);\n" }}}}{MARK " 1 0 0" 383 }{VIEWOPTS 1 1 0 1 1 1803 }