<?xml version="1.0" encoding="UTF-8"?>
<Worksheet>
<Version major="12" minor="2"/>
<Label-Scheme value="2" prefix=""/>
<View-Properties presentation="false"></View-Properties>
<MapleNet-Properties elisiondigitsbefore="100" labelling="true" indentamount="4" elisiontermsthreshold="10000" ansi="false" errorbreak="1" useclientjvm="true" echo="1" imaginaryunit="I" labelwidth="20" plotdriver="openviz" elisiondigitsafter="100" plotoutput="terminal" rtablesize="10" elisiontermsbefore="100" elisiondigitsthreshold="10000" typesetting="standard" plotdevice="inline" verboseproc="1" showassumed="1" errorcursor="false" longdelim="true" plotoptions="" quiet="false" elisiontermsafter="100" screenwidth="79" preplot="" prettyprint="3" displayprecision="-1" warnlevel="3" screenheight="25" latexwidth="6.0" postplot="" prompt="&gt; " ShowLabels="true"/>
<Styles><Font name="Ordered List 1" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Annotation Text" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Ordered List 2" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Ordered List 3" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Ordered List 4" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Ordered List 5" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Author" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Annotation Title" background="[255,255,255]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="18" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Warning" background="[255,255,255]" bold="false" executable="false" family="Monospaced" foreground="[0,0,255]" italic="false" opaque="false" readonly="true" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Maple Input Placeholder" background="[255,255,255]" bold="true" executable="true" family="Monospaced" foreground="[200,0,200]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="true"/>
<Font name="Maple Plot" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Code" background="[255,255,255]" bold="false" executable="false" family="Monospaced" foreground="[255,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Line Printed Output" background="[255,255,255]" bold="false" executable="false" family="Monospaced" foreground="[0,0,255]" italic="false" opaque="false" readonly="true" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Text Output" background="[255,255,255]" bold="false" executable="false" family="Monospaced" foreground="[0,0,255]" italic="false" opaque="false" readonly="true" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Diagnostic" background="[255,255,255]" bold="false" executable="false" family="Monospaced" foreground="[40,120,40]" italic="false" opaque="false" readonly="true" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="2D Inert Output" background="[255,255,255]" bold="false" executable="true" family="Times New Roman" foreground="[144,144,144]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Normal" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Hyperlink" background="[255,255,255]" bold="false" executable="false" family="Serif" foreground="[0,128,128]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="true" placeholder="false"/>
<Font name="Maple Output" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Dash Item" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="2D Math" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Maple Input" background="[255,255,255]" bold="true" executable="true" family="Monospaced" foreground="[255,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="2D Output" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,255]" italic="false" opaque="false" readonly="true" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="2D Input" background="[255,255,255]" bold="false" executable="true" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Header and Footer" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="10" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Error" background="[255,255,255]" bold="false" executable="false" family="Monospaced" foreground="[255,0,255]" italic="false" opaque="false" readonly="true" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Title" background="[255,255,255]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="18" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Heading 1" background="[255,255,255]" bold="true" executable="false" family="Serif" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="18" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Text" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Bullet Item" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Equation Label" background="[255,255,255]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Heading 4" background="[255,255,255]" bold="false" executable="false" family="Serif" foreground="[0,0,0]" italic="true" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Heading 3" background="[255,255,255]" bold="true" executable="false" family="Serif" foreground="[0,0,0]" italic="true" opaque="false" readonly="false" size="14" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Heading 2" background="[255,255,255]" bold="true" executable="false" family="Serif" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="16" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Dictionary Hyperlink" background="[255,255,255]" bold="false" executable="false" family="Serif" foreground="[147,0,15]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="true" placeholder="false"/>
<Font name="List Item" background="[255,255,255]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Layout name="Maple Output" alignment="centred" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.3" spaceabove="0" spacebelow="0" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Ordered List 1" alignment="left" bullet="numeric" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="-1" bulletsuffix=""/>
<Layout name="Dash Item" alignment="left" bullet="dash" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Ordered List 2" alignment="left" bullet="alphabetic" firstindent="0" leftmargin="36" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="-1" bulletsuffix=""/>
<Layout name="Ordered List 3" alignment="left" bullet="roman" firstindent="0" leftmargin="72" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="-1" bulletsuffix=""/>
<Layout name="Ordered List 4" alignment="left" bullet="ALPHABETIC" firstindent="0" leftmargin="108" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="-1" bulletsuffix=""/>
<Layout name="Ordered List 5" alignment="left" bullet="ROMAN" firstindent="0" leftmargin="144" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="-1" bulletsuffix=""/>
<Layout name="Author" alignment="centred" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="8" spacebelow="8" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Warning" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Annotation Title" alignment="centred" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="12" spacebelow="12" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Maple Plot" alignment="centred" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Error" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Title" alignment="centred" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="12" spacebelow="12" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Line Printed Output" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="any" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Heading 1" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="8" spacebelow="4" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Diagnostic" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="any" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Text Output" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="newline" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Bullet Item" alignment="left" bullet="dot" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Heading 4" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Normal" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Heading 3" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="0" spacebelow="0" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="Heading 2" alignment="left" bullet="none" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="8" spacebelow="2" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Layout name="List Item" alignment="left" bullet="indent" firstindent="0" leftmargin="0" rightmargin="0" linespacing="0.0" spaceabove="3" spacebelow="3" linebreak="space" pagebreak-before="false" initial="0" bulletsuffix=""/>
<Pencil-style name="Pencil 5" pen-color="[255,0,0]" pen-height="5.0" pen-width="5.0" pen-opacity="1.0"/>
<Pencil-style name="Pencil 4" pen-color="[0,0,255]" pen-height="3.0" pen-width="3.0" pen-opacity="1.0"/>
<Pencil-style name="Pencil 3" pen-color="[0,0,0]" pen-height="3.0" pen-width="3.0" pen-opacity="1.0"/>
<Pencil-style name="Pencil 2" pen-color="[0,0,255]" pen-height="1.0" pen-width="1.0" pen-opacity="1.0"/>
<Pencil-style name="Pencil 1" pen-color="[0,0,0]" pen-height="1.0" pen-width="1.0" pen-opacity="1.0"/>
<Highlighter-style name="Highlighter 2" pen-color="[255,204,0]" pen-height="14.0" pen-width="14.0" pen-opacity="0.8"/>
<Highlighter-style name="Highlighter 1" pen-color="[255,153,255]" pen-height="12.0" pen-width="8.0" pen-opacity="0.8"/>
<Highlighter-style name="Highlighter 4" pen-color="[0,255,255]" pen-height="32.0" pen-width="32.0" pen-opacity="0.8"/>
<Highlighter-style name="Highlighter 3" pen-color="[51,255,0]" pen-height="24.0" pen-width="24.0" pen-opacity="0.8"/>
<Highlighter-style name="Highlighter 5" pen-color="[255,255,0]" pen-height="48.0" pen-width="48.0" pen-opacity="0.8"/>
</Styles>
<Task-table>
    <Task-category name="&lt;default&gt;">
    </Task-category>
</Task-table>
<Task>
</Task>
<Group labelreference="L31" drawlabel="true">
<Input>
<Text-field style="Text" layout="Normal">Computing Limits using Maclaurin Series</Text-field>
<Text-field style="Text" layout="Normal">David Dwyer &amp; David Migl</Text-field>
<Text-field style="Text" layout="Normal">253 Honors Spring 2009</Text-field>
</Input>
</Group>
<Group labelreference="L10" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">restart:randomize():</Text-field>
</Input>
</Group>
<Group labelreference="L12" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">with(Maplets[Tools]): with(Maplets[Elements]): with(plots):
   StartEngine();
   ColorCloseButton:=&quot;#9999FF&quot;:
   ColorNewButton:=magenta:
   maroon:=&quot;#800000&quot;:
   burntorange:=&quot;#CC5500&quot;:
   colorbkgd:=gray:
lightcyan:=&quot;#DDFFFF&quot;:
ColorFooter:=lightcyan:
FontFooter:=Font(&quot;helvetica&quot;,10):</Text-field>
</Input>
</Group>
<Group labelreference="L27" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">Formula[1]:=Sum(t^n,n=0..infinity):
 Formula[2]:=Sum((-1)^n*t^(n+1)/(n+1),n=0..infinity):
 Formula[3]:=Sum(t^n/n!,n=0..infinity):
 Formula[4]:=Sum((-1)^n*t^(2*n+1)/(2*n+1)!,n=0..infinity):
 Formula[5]:=Sum((-1)^n*t^(2*n)/(2*n)!,n=0..infinity):
 Formula[6]:=Sum((-1)^n*t^(2*n+1)/(2*n+1),n=0..infinity):</Text-field>
</Input>
</Group>
<Group labelreference="L20" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">terms:=[(x-arctan(x))/x^3, (x-x^3/3-arctan(x))/x^5,(cos(x^3)-1+x^6/2)/x^12, (cos(x)-1+x^2/2)/x^4,(sin(x)-x+x^3/6)/(x^5),(sin(x^3)-x^3)/(x^9),(exp(x)-1)/x,(exp(x)-1-x)/(x^2)]:
replace:=[arctan(u),arctan(u),cos(u),cos(u),sin(u),sin(u),e^u,e^u]:
AnswerStep2:=[1/3-x^2/5,-1/5+x^2/7,1/(4!)-x^6/(6!),1/(4!)-x^2/(6!), 1/5!-x^2/7!,-1/3+x^6/5!,1+x/2,1/2+x/3!]:</Text-field>
</Input>
</Group>
<Group labelreference="L13" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L16" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">New_Problem:=proc()
   global problem_term,i,OverallAnswer;
   local index:
   set(reply=NULL):
   index:=rand(1..nops(terms));
   i:=index():
   problem_term:=terms[i]:
   Set(MathMLProblem(value)=MathML[Export](L = Limit(problem_term,x=0))):
   OverallAnswer:=value(limit(AnswerStep2[i],x=0)):
   Clear():
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L19" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">CheckStep1:=proc()
   global userinput;
   userinput:=parse(Get(InputStep1)):
      if userinput-replace[i]=0 
         then
             Set(reply(background)=maroon):
             Set(reply(foreground)=white):
             Set(reply=&quot;Step 1 correct: Beat The Hell Outta Step 1&quot;):   
         else 
             Set(reply(background)=burntorange):
             Set(reply=&quot;Step 1 incorrect: T-E-A-M&quot;):   
      end if:

end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L37" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L21" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">CheckStep2:=proc()
   local UserStep2:
   UserStep2:=Get(InputStep2::algebraic,corrections=true,update=true):
   if   simplify(normal(value(AnswerStep2[i]) - value(UserStep2)))=0
             or combine(value(AnswerStep2[i]) - value(UserStep2), ln, symbolic)=0
             or simplify(expand(value(AnswerStep2[i]) - value(UserStep2)))=0
             or simplify(normal(value(AnswerStep2[i]) - value(UserStep2)))=0
             or combine(value(AnswerStep2[i]) - value(UserStep2), ln, symbolic)=0
             or simplify(expand(value(AnswerStep2[i]) - value(UserStep2)))=0
        then 
             Set(reply(background)=maroon):
             Set(reply(foreground)=white):
             Set(reply=&quot;Step 2 correct: FARMER'S FIGHT!&quot;):             
        else 
             Set(reply=&quot;Step 2 incorrect: A&amp;M, GIVE US ROOM!&quot;):
             Set(reply(background)=burntorange):
   end if:
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L22" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">ShowStep2:=proc()
   Set(InputStep2=AnswerStep2[i]):
   Set(reply=&quot;Step 2 shown&quot;):
   EnableStep3():
   Set(reply(background)=yellow):
   Set(reply(foreground)=black):
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L36" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L23" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">CheckStep3:=proc()
   local UserStep3:
   UserStep3:=Get(InputStep3::algebraic,corrections=true,update=true):
       if   simplify(normal(value(OverallAnswer) - value(UserStep3)))=0
             or combine(value(OverallAnswer) - value(UserStep3), ln, symbolic)=0
             or simplify(expand(value(OverallAnswer) - value(UserStep3)))=0
             or simplify(normal(value(OverallAnswer) - value(UserStep3)))=0
             or combine(value(OverallAnswer) - value(UserStep3), ln, symbolic)=0
             or simplify(expand(value(OverallAnswer) - value(UserStep3)))=0
        then 
             Set(reply(background)=maroon):
             Set(reply(foreground)=white):
             Set(reply=&quot;Step 3 correct: WHOOP! GIG 'EM AGGIES!&quot;):             
        else 
             Set(reply=&quot;Step 3 incorrect: HISS!!!!&quot;):
             Set(reply(background)=burntorange):
               
       end if:
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L24" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">ShowStep3:=proc()
   Set(InputStep3=OverallAnswer):
   Set(reply=&quot;Step 3 Shown&quot;):
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L25" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">EnableStep3:=proc()
   Set(MathMLProblem3(value)=MathML[Export](L = Limit(AnswerStep2[i],x=0))):
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L35" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L29" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">Clear:=proc()
   Set(InputStep1(value)=&quot; &quot;):
   Set(InputStep2(value)=&quot; &quot;):
   Set(InputStep3(value)=&quot; &quot;):
   Set(MathMLProblem3(value)=MathML[Export](L = Limit(f(x),x=0))):
   Set(reply(value)=&quot; &quot;):
   Set(reply(foreground)=black):
   Set(reply(background)=white):
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L34" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L33" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">MaclSerLimit:= Maplet(onstartup = RunWindow(MAIN),
  Window[MAIN](title=&quot;Limits with Series&quot;,
    [ 
      [ halign=none,
        Button[New](&quot;New Limit&quot;,Evaluate(function=&quot;New_Problem&quot;), background=ColorNewButton),
        HorizontalGlue(),
        Button(&quot;Quit&quot;,background=ColorCloseButton,Shutdown())
      ],
      [ border=true,
        caption=&quot;Goal: Use a MacLaurin Series to evalute this limit:&quot;,
        MathMLViewer[MathMLProblem](value=MathML[Export](L = Limit(f(x),x=0))),
        HorizontalGlue()
      ],
      [ border=true,
        caption=&quot;Step 1: Choose a function to replace by its MacLaurin Series:&quot;,
        DropDownBox[InputStep1](background = white,[&quot; &quot;, e^u, sin(u), cos(u), ln(1+u), arctan(u)]),
        Button(&quot;Check&quot;, Evaluate(function = &quot;CheckStep1&quot;)),
        Button(&quot;Formulas&quot;, RunWindow(FORMULAS), background=yellow)
      ],
      BoxColumn( border=true,
        caption=&quot;Step2: Substitute the series into the limit and simplify:&quot;,
        [ TextBox( width=60, height=4, background=yellow, 
<Font encoding="UTF-8">          &quot;Cancel the first few terms of the series with other terms in the numerator.\134nCancel what remains with the power of x in the denominator.\134nWrite the FIRST TWO TERMS of what remains:&quot;)</Font>
        ],
        [ halign=none, inset=0,
          &quot;L = lim&quot;,
          TextField[InputStep2](width=40),
          HorizontalGlue(),
          Button(&quot;Check&quot;, Evaluate(function = &quot;CheckStep2&quot;)),
          Button(&quot;Show&quot;, Evaluate(function = &quot;ShowStep2&quot;))
        ]
      ),
      [ border=true,
        caption=&quot;Step3: Compute the limit:&quot;,
        MathMLViewer[MathMLProblem3](value=MathML[Export](L = Limit(f(x),x=0)), width=300, height=100),
        &quot; = &quot;,
        TextField[InputStep3](width=10),
        Button(&quot;Check&quot;, Evaluate(function = &quot;CheckStep3&quot;)),
        Button(&quot;Show&quot;, Evaluate(function = &quot;ShowStep3&quot;))
      ],
      [ TextField[reply](width=40, editable=false, background=white)
      ],
  [ halign=none, background=ColorFooter,
    Label(&quot;Programmers: David Dwyer &amp; David Migl&quot;, font=FontFooter),
    HorizontalGlue(),
    Label(&quot;Copyright: P. Yasskin 2009&quot;, font=FontFooter)
  ]
    ]
  ),
Window[FORMULAS](title=&quot;Formulas&quot;,
[ background=colorbkgd, halign=none,
  [ background=colorbkgd,
    HorizontalGlue(),
    &quot;Function&quot;,
    HorizontalGlue(),
    HorizontalGlue(),
    HorizontalGlue(),
    &quot;Maclaurin Series&quot;,
    HorizontalGlue(),
    HorizontalGlue(),
    HorizontalGlue(),
    Button[CloseFormulas](&quot;Close&quot;, CloseWindow(FORMULAS),background=ColorCloseButton)
  ],
  [ background=colorbkgd,
    MathMLViewer(value=MathML[Export](1/(1-t)),width=100,height=60),
    &quot;=&quot;,
    MathMLViewer(value=MathML[Export](Formula[1]),width=200,height=60)
  ],
  [ background=colorbkgd,
    MathMLViewer(value=MathML[Export](e^t),width=100,height=60),
    &quot;=&quot;,
    MathMLViewer(value=MathML[Export](Formula[3]),width=200,height=60)
  ],
  [ background=colorbkgd,
    MathMLViewer(value=MathML[Export](sin(t)),width=100,height=60),
    &quot;=&quot;,
    MathMLViewer(value=MathML[Export](Formula[4]),width=200,height=60)
  ],
  [ background=colorbkgd,
    MathMLViewer(value=MathML[Export](cos(t)),width=100,height=60),
    &quot;=&quot;,
    MathMLViewer(value=MathML[Export](Formula[5]),width=200,height=60)
  ],
  [ background=colorbkgd,
    MathMLViewer(value=MathML[Export](ln(1+t)),width=100,height=60),
    &quot;=&quot;,
    MathMLViewer(value=MathML[Export](Formula[2]),width=200,height=60)
  ],
  [ background=colorbkgd,
    MathMLViewer(value=MathML[Export](arctan(t)),width=100,height=60),
    &quot;=&quot;,
    MathMLViewer(value=MathML[Export](Formula[6]),width=200,height=60)
  ]
]
)
):</Text-field>
</Input>
</Group>
<Group labelreference="L15" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">Maplets[Display]( MaclSerLimit );</Text-field>
</Input>
</Group>
<Group labelreference="L28" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
</Worksheet>
