{VERSION 5 0 "IBM INTEL NT" "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 }{CSTYLE "" -1 259 "" 1 18 0 0 0 0 0 1 0 0 0 0 0 0 0 0 } {CSTYLE "" -1 260 "" 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 }{CSTYLE "" -1 261 "" 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 }{PSTYLE "Normal" -1 0 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 1 1 1 1 }1 1 0 0 0 0 1 0 1 0 2 2 0 1 }{PSTYLE "Normal" -1 256 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 1 1 1 1 }3 1 0 0 0 0 1 0 1 0 2 2 0 1 }} {SECT 0 {EXCHG {PARA 256 "" 0 "" {TEXT 259 45 "Creating a Masterpiece \+ with Parametric Plots " }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 0 "" }} {PARA 0 "" 0 "" {TEXT -1 107 "In order to create your picture, you wil l plot several parameterized curves together on one axes. Maple's " } {TEXT 260 7 "display" }{TEXT -1 77 " command will do the trick. You w ill need to load the \"plots\" package first:" }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 12 "with(plots) :" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 87 "Next produce a plot of each \+ of the curves in your picture, naming each one accordingly." }}} {EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 412 "head:=plot([2*cos(t),2*sin( t),t=0..2*Pi],color=black): lefteye:=plot([-.6+(.2)*cos(t),(.7)+(.2)*s in(t),t=0..2*Pi],color=black): righteye:=plot([.6+(.2)*cos(t),(.7)+(.2 )*sin(t),t=0..2*Pi],color=black): leftiris:=plot([-.5+.05*cos(t),(.7)+ .05*sin(t),t=0..2*Pi],color=blue): rightiris:=plot([.5+.05*cos(t),(.7) +.05*sin(t),t=0..2*Pi],color=blue): mouth:=plot([cos(t),(-.4)-sin(t),t =0..Pi],color=red): " }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 41 "Finally, display the curves all together:" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 116 "display([head,lefteye,righteye,leftiris,righ tiris,mouth],axes=none,title=`Smile!`,thickness=3,scaling=constrained) ; " }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT 261 18 "A Word of Warning:" }{TEXT -1 561 " The names \"head\", \"lef teye\", \"righteye\", etc. are variables; serving to name various port ions of the picture. Although these variables allow us to remember wh at each parameterization does, you could have also named the variables with letters (for example, \"a\" through \"f\" would have worked fine .) Please note, however, that you should avoid using the variable \"t \". This is because t is used as the parameter in each of the paramet erizations. If t is defined to be a plot in one line, then Maple will not be able to use t as a parameter in the next line. " }}}}{MARK "7 0 0" 0 }{VIEWOPTS 1 1 0 1 1 1803 1 1 1 1 }{PAGENUMBERS 0 1 2 33 1 1 }