<?xml version="1.0" encoding="UTF-8"?>
<Worksheet>
<Version major="12" minor="1"/>
<Label-Scheme value="2" prefix=""/>
<View-Properties presentation="false"><Hide name="Section Range"/></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="L157" drawlabel="true">
<Input>
<Text-field style="Text" layout="Normal">David Migl</Text-field>
<Text-field style="Text" layout="Normal">Using Maclaurin Series to Integrate</Text-field>
</Input>
</Group>
<Group labelreference="L35" drawlabel="true">
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">restart:</Text-field>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">with(Maplets[Tools]): with(Maplets[Elements]):
StartEngine();</Text-field>
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">randomize():</Text-field>
</Input>
</Group>
<Group labelreference="L164" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">colorbkgd:=wheat:
colordisable:=colorbkgd:
lightcyan:=&quot;#DDFFFF&quot;:
lightorange:=&quot;#FFB300&quot;:</Text-field>
</Input>
</Group>
<Group labelreference="L166" drawlabel="true">
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">ColorNewButton:=magenta:
ColorPrevButton:=turquoise:
ColorInput:=turquoise: ColorInputFrgd:=black:
ColorCheckButton:=green:
ColorShowButton:=lightorange:
ColorShow:=lightorange: ColorShowFrgd:=black:
ColorReturnButton:=magenta:
ColorFooter:=lightcyan:
ColorReplyDefault:=white: ColorReplyFrgdDefault:=black:
ColorFormulasButton:=lightorange:
ColorHintButton:=lightorange:
ColorCloseButton:=pink: # or Quit, Clear, Reset, Cancel
ColorCorrect:=green: ColorCorrectFrgd:=black:
ColorIncorrect:=red: ColorIncorrectFrgd:=white:
ColorWarning:=yellow: ColorWarningFrgd:=black:</Text-field>
</Group>
<Group labelreference="L169" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">FontFooter:=Font(&quot;helvetica&quot;,10):</Text-field>
</Input>
</Group>
<Group labelreference="L168" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">CaptionGoal:=
&quot;Goal: Use a Maclaurin Series to evaluate or estimate the integral:&quot;:
CaptionStep1:=
&quot;Step 1: Find a Maclaurin series for the integrand. Start from a known series. Make substitutions. Differentiate. Integrate. Or Multiply by powers of x.&quot;:
CaptionStep2:=
&quot;Step 2: Find a Maclaurin series for the integral. Integrate the terms of the above series.&quot;:
CaptionStep3:=
&quot;Step 3: Use the first THREE terms of the series to approximate the definite integral.&quot;:</Text-field>
</Input>
</Group>
<Group labelreference="L98" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">TEXTBUpdate:=
&quot;Update&quot;:
TEXTBClose:=
&quot;Close&quot;:
TEXTtitlePREVIEW:=
&quot;Preview&quot;:
TEXTBFormulaUse:=
&quot;Use&quot;:
TEXTreplyPreview:=
&quot;You must enter an expression to be previewed.&quot;:
TEXT1L1:=
&quot; = &quot;:
TEXTS3Disabled:=
<Font encoding="UTF-8">&quot;\134n\134nYou may skip this step since you are not computing a definite integral.\134n\134n\134n&quot;:
</Font>TEXTS3Note:=
&quot;The programmer deems that estimating the error in approximating this integral is beyond the scope of this maplet. Including this functionality into this maplet would excessively complicate it. Enough material remains to write another maplet on using the Alternating Series Estimation Test and Taylor's Remainder Theorem to estimate the error in approximating definite integrals using series.&quot;:
TEXTReplyRequestValue:=
&quot;Please enter a valid algebraic expression&quot;:
TEXTFeedbackShown:=
&quot;Shown&quot;:
TEXTReplyStep1Correct:=
&quot;Step 1 is correct&quot;:
TEXTReplyStep1Incorrect:=
&quot;Step 1 is incorrect.&quot;:
TEXTHintStep3:=
&quot;Write out the first three terms of the series. Next, evaluate them at the specified limits. The second evaluation (at x=0) usually comes out being 0.&quot;:</Text-field>
</Input>
</Group>
<Group labelreference="L160" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L147" 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="L161" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L184" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">terms:=[x^f*exp(c*x^d),
        x^f*sin(c*x^d),
        x^f*cos(c*x^d),
        x^f*arctan(c*x^d),
        x^f/(1+c*x^d),
        x^f*ln(1+c*x^d)]:
randterm:=rand(1..nops(terms)):</Text-field>
</Input>
</Group>
<Group labelreference="L186" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">randc:=rand(1..11):
randd:=rand(2..4):
randb:=.1*rand(1..10):</Text-field>
</Input>
</Group>
<Group labelreference="L182" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">fvals:=[-2,-1,0,0,0,1,1,2,3,4]:
randf:=rand(1..nops(fvals)):</Text-field>
</Input>
</Group>
<Group labelreference="L31" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">New_Problem:=proc(argument)
global c, d, f,b,dori,luckyone,IntIndef,IntDef,whichterm,IndefSetting:
ClearEverything():
c:=randc();d:=randd();b:=randb();whichterm:=randterm();
f:=fvals[randf()];
luckyone:=terms[whichterm]:
while not type(limit(luckyone,x=0),finite)
      or abs(abs(f)-abs(d))=1           #to make sure we don't end up with an easy u-substitution
      do                                #to make sure we don't end up with an indefinite integral
  f:=fvals[randf()];
  luckyone:=terms[whichterm];
end do;
Set(MMLf(value)=MathML[Export](luckyone)):
IntIndef:=Int(luckyone, x):
IntDef:=Int(luckyone, x=0..b):
IndefSetting:=argument;
if IndefSetting=true 
   then Set(mainproblem(value) = MathML[Export](&quot; I&quot; = IntIndef));
#        Evalute(function=
        InvisibleStep3():
#):
        Set(MMLVStep3(visible)=false):
   else Set(mainproblem(value) = MathML[Export](&quot; I&quot; = IntDef));
end if;
EnableStep1():
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L180" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L173" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">InvisibleStep3:=proc()
Set(MMLVStep3(visible)=false):
Set(InputStep3(visible)=false):
Set(HintS3(visible)=false):
Set(CheckS3(visible)=false):
Set(ShowS3(visible)=false):
Set(S3equalsign(visible)=false):
Set(ReplyS3(visible)=false):
Set(S3Disabled(visible)=true):
Set(NoteS3(visible)=false):
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L146" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">ClearEverything:=proc()
Set(InputStep1(enabled)=false,InputStep1=&quot;&quot;,InputStep1(background)=white):
Set(PreviewS1(enabled)=false,PreviewS1(background)=colordisable):
Set(CheckS1(enabled)=false,CheckS1(background)=colordisable):
Set(ReplyS1=&quot;&quot;,ReplyS1(enabled)=false,ReplyS1(background)=colordisable,ReplyS1(foreground)=black):
Set(ShowS1(enabled)=false,ShowS1(background)=colordisable):
Set(PreviewS2(enabled)=false,PreviewS2(background)=colordisable):
Set(ShowS2(enabled)=false,ShowS2(background)=colordisable):
Set(InputStep2(enabled)=false,InputStep2=&quot;&quot;,InputStep2(background)=colordisable):
Set(PreviewS2(enabled)=false,PreviewS2(background)=colordisable):
Set(ReplyS2=&quot;&quot;,ReplyS2(enabled)=false,ReplyS2(background)=colordisable,ReplyS2(foreground)=black):
Set(ShowS2(enabled)=false,ShowS2(background)=colordisable):
Set(CheckS2(enabled)=false,CheckS2(background)=colordisable):
Set(MMLVStep2(value)=MathML[Export](&quot;&quot;)):
Set(InputStep3(enabled)=false,InputStep3=&quot;&quot;,InputStep3(background)=colordisable):
Set(HintS3(enabled)=false,HintS3(background)=colordisable):
Set(CheckS3(enabled)=false,CheckS3(background)=colordisable):
Set(ReplyS3=&quot;&quot;,ReplyS3(enabled)=false,ReplyS3(background)=colordisable,ReplyS3(foreground)=black):
Set(ShowS3(enabled)=false,ShowS3(background)=colordisable):
Set(MMLVStep3(value)=MathML[Export](&quot;&quot;)):
Set(reply=&quot;&quot;,reply(background)=ColorReplyDefault,reply(foreground)=ColorReplyFrgdDefault);
Set(S3Disabled(visible)=false):
Set(MMLVStep3(visible)=true):
Set(InputStep3(visible)=true):
Set(HintS3(visible)=true):
Set(CheckS3(visible)=true):
Set(ShowS3(visible)=true):
Set(S3equalsign(visible)=true):
Set(ReplyS3(visible)=true):
Set(NoteS3(visible)=true):
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L171" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L89" drawlabel="true">
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">Preview:=proc(TFname)
local expr;
global CurrentTFname;
options `Copyright 2005, Philip B. Yasskin, Texas A&amp;M Univ.`;
CurrentTFname := TFname;
if Get(TFname)=&quot;&quot; then
  Set(reply=TEXTreplyPreview, 
    reply(background)=ColorWarning, reply(foreground)=ColorWarningFrgd);
else
  expr:=Get(TFname::anything, corrections=true, update=true);
  Set(TFPreview = expr);
  Set(MMLPreview(value) = MathML[Export](expr));
  Set(ARunPreview(run)=true);
end if;
end proc:</Text-field>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">Update_Preview:=proc()
local expr;
global CurrentTFname;
options `Copyright 2005, Philip B. Yasskin, Texas A&amp;M Univ.`;
expr:=Get(TFPreview::anything, corrections=true, update=true);
Set(MMLPreview(value) = MathML[Export](expr));
Set(CurrentTFname = expr);
end proc:</Text-field>
</Group>
<Group labelreference="L174" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L170" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">EnableStep1:=proc()
Set(InputStep1(enabled)=true,InputStep1(background)=ColorInput):
Set(PreviewS1(enabled)=true,PreviewS1(background)=ColorPrevButton):
Set(CheckS1(enabled)=true,CheckS1(background)=ColorCheckButton):
Set(ShowS1(enabled)=true,ShowS1(background)=ColorShowButton):
Set(ReplyS1(enabled)=true):
Set(UseF1(enabled)=true):
Set(UseF2(enabled)=true):
Set(UseF3(enabled)=true):
Set(UseF4(enabled)=true):
Set(UseF5(enabled)=true):
Set(UseF6(enabled)=true):
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L189" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" alignment="left" firstindent="0" spacebelow="0" leftmargin="0" linespacing="0.0" initial="0" linebreak="space" rightmargin="0" bulletsuffix="" spaceabove="0" bullet="none" pagebreak-before="false">ShowStep1:=proc()
global AnswerStep1,ProblemStep2:
AnswerStep1:=convert(luckyone,FormalPowerSeries,x):
Set (InputStep1=AnswerStep1):
ProblemStep2:=Int(AnswerStep1,x):
Set (MMLVStep2(value)=MathML[Export](ProblemStep2)):
Set (reply=&quot;Step 1 shown&quot;,reply(background)=ColorShow,reply(foreground)=ColorShowFrgd);
Set (ReplyS1=TEXTFeedbackShown,ReplyS1(background)=ColorShow,ReplyS1(foreground)=ColorShowFrgd,ReplyS1(enabled)=true);
EnableStep2():
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L191" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" alignment="left" firstindent="0" spacebelow="0" leftmargin="0" linespacing="0.0" initial="0" linebreak="space" rightmargin="0" bulletsuffix="" spaceabove="0" bullet="none" pagebreak-before="false"></Text-field>
</Input>
</Group>
<Group labelreference="L139" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">EnableStep2:=proc()
Set (InputStep2(enabled)=true,InputStep2(background)=ColorInput):
Set (PreviewS2(enabled)=true,PreviewS2(background)=ColorPrevButton):
Set (ShowS2(enabled)=true,ShowS2(background)=ColorShowButton):
Set (CheckS2(enabled)=true,CheckS2(background)=ColorCheckButton):
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L175" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">ShowStep2:=proc()
global ser,TermSer,IntTermSer,IntegratedTerm,ProblemStep3,ValueOfMMLVHint3,CorrectAnswerStep3:
ser:=convert(luckyone,FormalPowerSeries,x):
TermSer:=op(1,ser):
IntegratedTerm:=int(TermSer,x):
IntTermSer:=Sum(IntegratedTerm,op(2,ser))+C:
Set(InputStep2=IntTermSer):
ProblemStep3:=Eval(Sum(IntegratedTerm,k=0..2),x=b)-Eval(Sum(IntegratedTerm,k=0..2),x=0):
Set(ReplyS2(background)=ColorShow,ReplyS2(foreground)=ColorShowFrgd,ReplyS2=TEXTFeedbackShown,ReplyS2(enabled)=true):
Set(reply(background)=ColorShow,reply=&quot;Step 2 shown&quot;,reply(foreground)=ColorShowFrgd):
if IndefSetting=false then
  EnableStep3():
  Set(MMLVStep3(value)=MathML[Export](ProblemStep3)):
  ValueOfMMLVHint3:=Eval(sum(IntegratedTerm,k=0..2),x=b)-Eval(sum(IntegratedTerm,k=0..2),x=0):
  Set(MMLVHint3(value)=MathML[Export](ValueOfMMLVHint3)):
  CorrectAnswerStep3:=eval(sum(IntegratedTerm,k=0..2),x=b)-eval(sum(IntegratedTerm,k=0..2),x=0):
  #Set(AnsStep3=CorrectAnswerStep3):
end if:
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L176" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L141" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">EnableStep3:=proc()
Set(InputStep3(enabled)=true,InputStep3(background)=ColorInput):
Set(HintS3(enabled)=true,HintS3(background)=ColorHintButton):
Set(CheckS3(enabled)=true,CheckS3(background)=ColorCheckButton):
Set(ShowS3(enabled)=true,ShowS3(background)=ColorShowButton):
Set(NoteS3(enabled)=true,NoteS3(background)=ColorWarning):
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L177" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">ShowStep3:=proc()
Set(InputStep3=evalf(CorrectAnswerStep3,3));
Set(ReplyS3=TEXTFeedbackShown,ReplyS3(enabled)=true,ReplyS3(background)=ColorShow,ReplyS3(foreground)=ColorShowFrgd):
Set(reply=&quot;Step 3 shown&quot;,reply(background)=ColorShow,reply(foreground)=ColorShowFrgd):
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L178" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L127" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" alignment="left" firstindent="0" spacebelow="0" leftmargin="0" linespacing="0.0" initial="0" linebreak="space" rightmargin="0" bulletsuffix="" spaceabove="0" bullet="none" pagebreak-before="false">CheckStep1:=proc()
global userser,AnswerStep1,ProblemStep2:
AnswerStep1:=convert(luckyone,FormalPowerSeries,x):
userser:=Get(InputStep1::algebraic,corrections=true, update=true):
       if   simplify(normal(value(AnswerStep1) - value(userser)))=0
             or combine(value(AnswerStep1) - value(userser), ln, symbolic)=0
             or simplify(expand(value(AnswerStep1) - value(userser)))=0
             or simplify(normal(value(AnswerStep1) - value(userser)))=0
             or combine(value(AnswerStep1) - value(userser), ln, symbolic)=0
             or simplify(expand(value(AnswerStep1) - value(userser)))=0
          then Set (reply=TEXTReplyStep1Correct,reply(background)=ColorCorrect,reply(foreground)=ColorCorrectFrgd):
               Set(ReplyS1=&quot;Correct!&quot;,ReplyS1(background)=ColorCorrect,ReplyS1(foreground)=ColorCorrectFrgd,ReplyS1(enabled)=true):
               ProblemStep2:=Int(AnswerStep1,x):
               Evalute(function=EnableStep2()):
               Set (MMLVStep2(value)=MathML[Export](ProblemStep2)):
          else Set (reply=TEXTReplyStep1Incorrect,reply(background)=ColorIncorrect,reply(foreground)=ColorIncorrectFrgd);
               Set(ReplyS1=&quot;Incorrect&quot;,ReplyS1(background)=ColorIncorrect,ReplyS1(foreground)=ColorIncorrectFrgd):
       end if:
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L193" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" alignment="left" firstindent="0" spacebelow="0" leftmargin="0" linespacing="0.0" initial="0" linebreak="space" rightmargin="0" bulletsuffix="" spaceabove="0" bullet="none" pagebreak-before="false">CheckStep2:=proc()
global userInt,ser,TermSer,IntegratedTerm,IntTermSer,ProblemStep3,ValueOfMMLVHint3,CorrectAnswerStep3:
ser:=convert(luckyone,FormalPowerSeries,x):
TermSer:=op(1,ser):
IntegratedTerm:=int(TermSer,x):
IntTermSer:=Sum(IntegratedTerm,op(2,ser))+C:
userInt:=Get(InputStep2::algebraic,corrections=true, update=true):
      if   simplify(normal(value(IntTermSer) - value(userInt)))=C
           or combine(value(IntTermSer) - value(userInt), ln, symbolic)=C
           or simplify(expand(value(IntTermSer) - value(userInt)))=C
           or simplify(normal(value(IntTermSer) - value(userInt)))=C
           or combine(value(IntTermSer) - value(userInt), ln, symbolic)=C
           or simplify(expand(value(IntTermSer) - value(userInt)))=C
         then Set(reply(background)=ColorWarning,reply=&quot;you forgot to add C!!&quot;,reply(foreground)=ColorWarningFrgd,ReplyS2=&quot;Add C&quot;,ReplyS2(background)=ColorWarning,ReplyS2(foreground)=ColorWarningFrgd):
         else
            if   simplify(normal(value(IntTermSer) - value(userInt)))=0
                  or combine(value(IntTermSer) - value(userInt), ln, symbolic)=0
                  or simplify(expand(value(IntTermSer) - value(userInt)))=0
                  or simplify(normal(value(IntTermSer) - value(userInt)))=0
                  or combine(value(IntTermSer) - value(userInt), ln, symbolic)=0
                  or simplify(expand(value(IntTermSer) - value(userInt)))=0
               then Set (reply=&quot;Step 2 is correct.&quot;,reply(background)=ColorCorrect,reply(foreground)=ColorCorrectFrgd);
                    Set(ReplyS2(enabled)=true,ReplyS2=&quot;Correct!&quot;,ReplyS2(background)=ColorCorrect,ReplyS2(foreground)=ColorCorrectFrgd):
                    if IndefSetting=false then
                       EnableStep3():
                       Set(MMLVStep3(value)=MathML[Export](ProblemStep3)):
                       Set(MMLVHint3(value)=MathML[Export](ValueOfMMLVHint3)):
                       #Set(AnsStep3=CorrectAnswerStep3):
                    end if:
               else Set (reply=&quot;step 2 is incorrect&quot;,reply(background)=ColorIncorrect,reply(foreground)=ColorIncorrectFrgd);
                    Set(ReplyS2=&quot;Incorrect&quot;,ReplyS2(background)=ColorIncorrect,ReplyS2(foreground)=ColorIncorrectFrgd):
            end if:
     end if:
ProblemStep3:=Eval(Sum(IntegratedTerm,k=0..2),x=b)-Eval(Sum(IntegratedTerm,k=0..2),x=0):
ValueOfMMLVHint3:=Eval(sum(IntegratedTerm,k=0..2),x=b)-Eval(sum(IntegratedTerm,k=0..2),x=0):
CorrectAnswerStep3:=eval(sum(IntegratedTerm,k=0..2),x=b)-eval(sum(IntegratedTerm,k=0..2),x=0):
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L145" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" alignment="left" firstindent="0" spacebelow="0" leftmargin="0" linespacing="0.0" initial="0" linebreak="space" rightmargin="0" bulletsuffix="" spaceabove="0" bullet="none" pagebreak-before="false">CheckStep3:=proc()
global LowerBound,UpperBound;
local in3;
LowerBound:=evalf(CorrectAnswerStep3,3)-.0015;  #   I allow an error of +/- 1 digit in the thousandths place
UpperBound:=evalf(CorrectAnswerStep3,3)+.0015;  #   since this is an approximation, after all.
in3:=Get(InputStep3::realcons,corrections=true, update=true):
if in3&gt;LowerBound and in3&lt;UpperBound or in3=LowerBound or in3=UpperBound 
   then  Set (reply=&quot;Step 3 is correct&quot;,reply(background)=ColorCorrect,reply(foreground)=ColorCorrectFrgd):
         Set(ReplyS3=&quot;Correct!&quot;,ReplyS3(background)=ColorCorrect,ReplyS3(foreground)=ColorCorrectFrgd):
   else  Set (reply=&quot;Step 3 is incorrect&quot;,reply(background)=ColorIncorrect,reply(foreground)=ColorIncorrectFrgd):
         Set(ReplyS3=&quot;Incorrect&quot;,ReplyS3(background)=ColorIncorrect,ReplyS3(foreground)=ColorIncorrectFrgd):
end if:
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L179" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L187" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">UseFormula:=proc(i)
Set(InputStep1=Formula[i]):
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L172" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L143" drawlabel="true">
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">IntUsingSeries:= Maplet(onstartup = RunWindow(MAIN),
Window[MAIN](title=&quot;Using Maclaurin Series to Integrate&quot;,
[ background=colorbkgd,
  [ background=colorbkgd,  
    BoxColumn(halign=none,valign=none,inset=0,spacing=10,background=colorbkgd,
      VerticalGlue(),
      Button(&quot;New Indefinite Integral&quot;,background=ColorNewButton,Evaluate(function=&quot;New_Problem(true)&quot;)),
      Button(&quot;New Definite Integral&quot;,background=ColorNewButton,Evaluate(function=&quot;New_Problem(false)&quot;)),
      VerticalGlue()
    ),
    HorizontalGlue(),
    BoxColumn(halign=none,valign=none,background=colorbkgd,border=true,
      caption=CaptionGoal,
      MathMLViewer[mainproblem](value=MathML[Export](&quot;I&quot;=Int(f(x),x=a..b)),width=200,height=60)
    ),
    HorizontalGlue(),
    Button(&quot;Quit&quot;,background=ColorCloseButton,Shutdown())
  ],
##STEP 1 - FIND A SERIES FOR THE INTEGRAND
  [ halign=none, background=colorbkgd, border=true,
    caption=CaptionStep1,
    MathMLViewer[MMLf](value=MathML[Export](f(x)),width=150,height=60),
    &quot; = &quot;,
    TextField[InputStep1](&quot;&quot;,width=40,enabled=false),
    HorizontalGlue(),
    Button(&quot;Formulas&quot;,Action(RunWindow(FORMULAS)),background=ColorFormulasButton),
    Button[PreviewS1](&quot;Preview&quot;, onclick=ASerPreview,background=colordisable,enabled=false),
    Button[CheckS1](&quot;Check&quot;, Evaluate(function=CheckStep1),background=colordisable,enabled=false),
    TextField[ReplyS1](&quot;&quot;,width=7,editable=false,enabled=false),
    Button[ShowS1](&quot;Show&quot;, Evaluate(function=ShowStep1),background=colordisable,enabled=false)
   ],
##STEP 2 - INTEGRATE THE SERIES WITH RESPECT TO X
  [ halign=none, background=colorbkgd, border=true,
    caption=CaptionStep2,
    MathMLViewer[MMLVStep2](value=MathML[Export](&quot;I&quot; = Sum(Int(a[n]*x^n,x=a..b), n=0..infinity)),width=220,height=60),
    &quot;=&quot;,
    TextField[InputStep2](&quot;&quot;,width=50,enabled=false),
    HorizontalGlue(),
    Button[PreviewS2](&quot;Preview&quot;, onclick=AIntPreview,background=colorbkgd,enabled=false),
    Button[CheckS2](&quot;Check&quot;, Evaluate(function=CheckStep2),background=colorbkgd,enabled=false),
    TextField[ReplyS2](&quot;&quot;,width=7,editable=false,enabled=false),
    Button[ShowS2](&quot;Show&quot;, Evaluate(function=ShowStep2),background=colorbkgd,enabled=false)
  ],
##STEP 3 - ONLY FOR DEFINITE INTEGRALS
  BoxColumn(halign=none, valign=none, inset=0, spacing=0, background=colorbkgd, border=true,
    caption=CaptionStep3,
    Label[S3Disabled](TEXTS3Disabled,visible=false),
    [ background=colorbkgd,
      MathMLViewer[MMLVStep3](value=MathML[Export](&quot;&quot;),width=500,height=80),
      Label[S3equalsign](&quot; = &quot;),
      TextField[InputStep3](&quot;&quot;,width=7,enabled=false),
      HorizontalGlue(),
      Button[NoteS3](&quot;Note&quot;,RunWindow(NOTES3),enabled=true,background=colorbkgd,visible=true,enabled=false),
      Button[HintS3](&quot;Hint&quot;,RunWindow(HINTSTEP3),enabled=false,background=colorbkgd,visible=true),
      Button[CheckS3](&quot;Check&quot;, Evaluate(function=CheckStep3),enabled=false,background=colorbkgd),
      TextField[ReplyS3](&quot;&quot;,width=7,editable=false,enabled=false),
      Button[ShowS3](&quot;Show&quot;, Evaluate(function=ShowStep3),enabled=false,background=colorbkgd)
    ]
  ),
  [ background=colorbkgd,
    TextBox[reply](&quot;&quot;,width=60,height=1,editable=false,background=white)
  ],
  [ halign=none, background=ColorFooter,
    Label(&quot;Programmer: David Migl&quot;, font=FontFooter),
    HorizontalGlue(),
    Label(&quot;Copyright: P. Yasskin 2008&quot;, font=FontFooter)
  ]
]),
Window[PREVIEW]( title=TEXTtitlePREVIEW, defaultbutton=UpdatePreview, 
[ background=colorbkgd,halign=none, 
  [
    TextField[TFPreview](width=50,background=ColorPrevButton),
    Button[UpdatePreview](TEXTBUpdate, Evaluate(function = Update_Preview),background=ColorPrevButton),
    Button[ClosePreview](TEXTBClose, CloseWindow(PREVIEW),background=ColorCloseButton)
  ],
  [ 
    MathMLViewer[MMLPreview](value=MathML[Export](&quot;&quot;), width=500, height=100)
  ]
]),
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](TEXTBClose, 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),
    Button[UseF1](TEXTBFormulaUse, onclick=AUse1,enabled=false)
  ],
  [ background=colorbkgd,
    MathMLViewer(value=MathML[Export](e^t),width=100,height=60),
    &quot;=&quot;,
    MathMLViewer(value=MathML[Export](Formula[3]),width=200,height=60),
    Button[UseF3](TEXTBFormulaUse, onclick=AUse3,enabled=false)
  ],
  [ background=colorbkgd,
    MathMLViewer(value=MathML[Export](sin(t)),width=100,height=60),
    &quot;=&quot;,
    MathMLViewer(value=MathML[Export](Formula[4]),width=200,height=60),
    Button[UseF4](TEXTBFormulaUse, onclick=AUse4,enabled=false)
  ],
  [ background=colorbkgd,
    MathMLViewer(value=MathML[Export](cos(t)),width=100,height=60),
    &quot;=&quot;,
    MathMLViewer(value=MathML[Export](Formula[5]),width=200,height=60),
    Button[UseF5](TEXTBFormulaUse, onclick=AUse5,enabled=false)
  ],
  [ 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),
    Button[UseF2](TEXTBFormulaUse, onclick=AUse2,enabled=false)
  ],
  [ background=colorbkgd,
    MathMLViewer(value=MathML[Export](arctan(t)),width=100,height=60),
    &quot;=&quot;,
    MathMLViewer(value=MathML[Export](Formula[6]),width=200,height=60),
    Button[UseF6](TEXTBFormulaUse, onclick=AUse6,enabled=false)
  ]
]
),
Window[HINTSTEP3](width=700,height=300,title=&quot;Step 3 Hint&quot;,
[ background=colorbkgd,
  TextBox(value=TEXTHintStep3,height=3),
  MathMLViewer[MMLVHint3](value=MathML[Export](&quot;&quot;),width=600,height=100)
]
),
Window[NOTES3](width=500,height=200,title=&quot;Note&quot;,
[ background=colorbkgd,
  TextBox(TEXTS3Note,height=250)
]
),
Action[ARunPreview](RunWindow(PREVIEW)),
Action[ASerPreview](Evaluate(function = &quot;Preview(InputStep1)&quot;)),
Action[AIntPreview](Evaluate(function=&quot;Preview(InputStep2)&quot;)),
Action[AUse1](Evaluate(function=&quot;UseFormula(1)&quot;),CloseWindow(FORMULAS)),
Action[AUse2](Evaluate(function=&quot;UseFormula(2)&quot;),CloseWindow(FORMULAS)),
Action[AUse3](Evaluate(function=&quot;UseFormula(3)&quot;),CloseWindow(FORMULAS)),
Action[AUse4](Evaluate(function=&quot;UseFormula(4)&quot;),CloseWindow(FORMULAS)),
Action[AUse5](Evaluate(function=&quot;UseFormula(5)&quot;),CloseWindow(FORMULAS)),
Action[AUse6](Evaluate(function=&quot;UseFormula(6)&quot;),CloseWindow(FORMULAS))
):</Text-field>
</Group>
<Group labelreference="L53" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" alignment="left" firstindent="0" spacebelow="0" leftmargin="0" linespacing="0.0" initial="0" linebreak="space" rightmargin="0" bulletsuffix="" spaceabove="0" bullet="none" pagebreak-before="false">Maplets[Display]( IntUsingSeries );</Text-field>
</Input>
</Group>
<Group labelreference="L155" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
</Worksheet>
