{VERSION 4 0 "IBM INTEL NT" "4.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 256 "" 1 14 0 0 0 0 0 0 0 0 0 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 1 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }}
{SECT 0 {EXCHG {PARA 0 "" 0 "" {TEXT 256 16 "Mars worksheet 2" }{TEXT
-1 51 " -- Earth and Mars in orbit as seen from the earth." }}{PARA 0
"" 0 "" {TEXT -1 80 "First we make the definitions of earth and Mars o
rbits from the first worksheet:" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT
1 0 38 "xE := cos(2*Pi*t);\nyE := sin(2*Pi*t);\n" }}}{EXCHG {PARA 0 ">
" 0 "" {MPLTEXT 1 0 42 "xM := 1.5*cos(Pi*t);\nyM := 1.5*sin(Pi*t);\n
" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 21 "with(plots,animate);\n
" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 21 "with(plots,display); "
}}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 71 " Now we calculate the relative \+
position of Mars as seen from the Earth." }{MPLTEXT 1 0 0 "" }}}
{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 21 "xR:=xM-xE; yR:=yM-yE;" }}}
{EXCHG {PARA 0 "" 0 "" {TEXT -1 97 " The next statement simply plots t
he orbit of Mars as seen from Earth. What is this curve called?" }
{MPLTEXT 1 0 0 "" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 54 "plot([x
R,yR,t=0..2*Pi],scaling=CONSTRAINED,axes=none);" }}}{EXCHG {PARA 0 ""
0 "" {TEXT -1 157 " To prepare for animation, we give the preceding cu
rve a name. Then we animate the motion of Mars in the same manner as w
e did for Earth and Mars previously:" }{MPLTEXT 1 0 0 "" }}}{EXCHG
{PARA 0 "> " 0 "" {MPLTEXT 1 0 5 "F:=%:" }}}{EXCHG {PARA 0 "> " 0 ""
{MPLTEXT 1 0 59 "G:=animate([xR+0.1*cos(s),yR+0.1*sin(s),s=0..2*Pi],t=
0..2):" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 15 "display(\{F,G\});
" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}}}{MARK "1 0 0" 19 }
{VIEWOPTS 1 1 0 1 1 1803 1 1 1 1 }{PAGENUMBERS 0 1 2 33 1 1 }