<?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="L114" drawlabel="true">
<Input>
<Text-field style="Text" layout="Normal">Surface Area Integrals</Text-field>
<Text-field style="Text" layout="Normal">Michael Cook &amp; Robert Garay</Text-field>
<Text-field style="Text" layout="Normal">Math 253 - Honors Spring 2009</Text-field>
</Input>
</Group>
<Group labelreference="L116" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">restart:</Text-field>
</Input>
</Group>
<Group labelreference="L115" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">with(Maplets[Tools]): with(Maplets[Elements]): with(plots): with(plottools):with(VecCalc):VCalias:
StartEngine():</Text-field>
</Input>
</Group>
<Group labelreference="L123" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">randomize():</Text-field>
</Input>
</Group>
<Group labelreference="L121" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">lightorange:=&quot;#FFB300&quot;:
lightcyan:=&quot;#DDFFFF&quot;:</Text-field>
</Input>
</Group>
<Group labelreference="L182" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">ColorFooter:=lightcyan:
FontFooter:=Font(&quot;helvetica&quot;,10):</Text-field>
</Input>
</Group>
<Group labelreference="L189" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">randm:=rand(1..5):</Text-field>
</Input>
</Group>
<Group labelreference="L200" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">randn:=rand(1..2):</Text-field>
</Input>
</Group>
<Group labelreference="L201" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">randrmax:=rand(1..4):</Text-field>
</Input>
</Group>
<Group labelreference="L204" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">shape[1]:=&quot;cone&quot;:shape[2]:=&quot;paraboloid&quot;:</Text-field>
</Input>
</Group>
<Group labelreference="L205" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">initplot:=plot3d([r*cos(theta),r*sin(theta),0],r=0..2,theta=0..2*Pi, grid=[10,49], axes=normal, tickmarks=[0,0,0], orientation=[30,75], color=white):</Text-field>
</Input>
</Group>
<Group labelreference="L206" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L117" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">problem:=proc()
global m,n,rmax,r_max,R,initplot,currplot,e_r,e_theta,N,lN,SurfArea, valSurfArea, r, theta:
m:=randm():
n:=randn():
rmax:=randrmax():
r_max:=&quot;&quot;:
R:=[r*cos(theta),r*sin(theta),m*r^n]:
currplot:=plot3d(R,r=0..rmax,theta=0..2*Pi, grid=[10,49], scaling=constrained, axes=normal, tickmarks=[0,0,0], orientation=[30,75]):
e_r:=diff(R,r):
e_theta:=diff(R,theta):
N:=Cross(e_r,e_theta):
lN:=Length(N) assuming r&gt;0:
SurfArea:=Muint(lN,r=0..rmax,theta=0..2*Pi):
valSurfArea:=simplify(value(SurfArea)):
<Font encoding="UTF-8">Set(probstate=sprintf(&quot;  Find the surface area of the %s given by %a below %a.\134n  The surface can be parametrized as: %a.&quot;, shape[n], </Font>z=m*(x^2+y^2)^(n/2), z=m*rmax^n, R)):
Set(surfplot=currplot):
Set(TFrmax=&quot;&quot;):
Set(TFe_r=&quot;&quot;):
Set(TFe_theta=&quot;&quot;):
Set(TFN=&quot;&quot;):
Set(TFlN=&quot;&quot;):
Set(TFSurfArea=&quot;&quot;):
end proc:</Text-field>
</Input>
<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="L152" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">hint1:=proc()
Set(reply=sprintf(&quot;%a&quot;,'z_max'=m*'r_max'^n)):
#Set(reply=cat(&quot;&quot;,convert(z_max=m,string),&quot;*r_max^&quot;,convert(n,string),&quot;.&quot;)):
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L153" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">check1:=proc()
global rmax:
local user_rmax:
if Get(TFrmax)=&quot;&quot; then
  Set(reply=&quot;No answer given.&quot;):
  return:
end if:
user_rmax:=Get(TFrmax::anything):
if simplify(rmax - user_rmax)=0 then
  Set(reply=&quot;Radical Dude!&quot;):
else
  Set(reply=&quot;I thought you were better than that.&quot;):
end if:
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L151" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">show1:=proc()
global rmax:
Set(TFrmax=rmax):
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L126" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L165" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">hint2:=proc()
Set(reply=&quot;Find the Partial Derivative with respect to r.&quot;):
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L166" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">check2:=proc()
global e_r:
local user_e_r:
if Get(TFe_r)=&quot;&quot; then
  Set(reply=&quot;No answer given.&quot;):
  return:
end if:
user_e_r:=Get(TFe_r::list, corrections=true, update=true):
if simplify(e_r - user_e_r)=[0,0,0] then
  Set(reply=&quot;You're the Bomb!&quot;):
else
  Set(reply=&quot;Are you sure you're good at math?.&quot;):
end if:
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L167" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">show2:=proc()
global e_r:
Set(TFe_r=e_r):
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L155" 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">hint3:=proc()
Set(reply=&quot;Find the Partial Derivative with respect to theta.&quot;):
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L168" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">check3:=proc()
global e_theta:
local user_e_theta:
if Get(TFe_theta)=&quot;&quot;then
  Set(reply=&quot;No answer given.&quot;):
  return:
end if:
user_e_theta:=Get(TFe_theta::list, corrections=true, update=true):
if simplify(e_theta - user_e_theta)=[0,0,0] then
  Set(reply=&quot;You Rock!&quot;):
else
  Set(reply=&quot;Oops...try again.&quot;):
end if:
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L169" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">show3:=proc()
global e_theta:
Set(TFe_theta=e_theta):
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="L176" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">hint4:=proc()
Set(reply=&quot;Find the Cross Product of e_r and e_theta.&quot;):
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L177" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">check4:=proc()
global N:
local user_N:
if Get(TFN)=&quot;&quot;then
  Set(reply=&quot;No answer given.&quot;):
  return:
end if:
user_N:=Get(TFN::list, corrections=true, update=true):
if simplify(N - user_N)=[0,0,0] then
  Set(reply=&quot;Who's got the skills...You!&quot;):
else
  Set(reply=&quot;Better luck next time.&quot;):
end if:
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L175" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">show4:=proc()
global N:
Set(TFN=N):
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L159" 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">hint5:=proc()
Set(reply=&quot;Take the square root of the sum of the squares of the components of N.&quot;):
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L171" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">check5:=proc()
global lN:
local user_lN:
if Get(TFlN)=&quot;&quot; then
  Set(reply=&quot;No answer given.&quot;):
  return:
end if:
user_lN:=Get(TFlN::anything):
if simplify(evalf(lN) - evalf(user_lN))=0 then
  Set(reply=&quot;Way to go!&quot;):
else
  Set(reply=&quot;Nope, keep trying.&quot;):
end if:
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L172" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">show5:=proc()
global lN:
Set(TFlN=lN):
end proc:</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="L180" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">hint6:=proc()
Set(reply=&quot;Use a double integral with respect to r and theta&quot;):
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L179" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">check6:=proc()
global valSurfArea:
local user_SurfArea:
if Get(TFSurfArea)=&quot;&quot; then
  Set(reply=&quot;No answer given.&quot;):
  return:
end if:
user_SurfArea:=Get(TFSurfArea::anything):
if simplify(valSurfArea - value(user_SurfArea))=0 then
  Set(reply=&quot;Great Job! Now try another problem.&quot;):
else
  Set(reply=&quot;You'll do better next time for sure.&quot;):
end if:
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L181" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">show6:=proc()
global valSurfArea:
Set(TFSurfArea=valSurfArea):
end proc:</Text-field>
</Input>
</Group>
<Group labelreference="L142" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L144" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">SurfacArea:=Maplet(onstartup=RunWindow(MAIN),
Font[helv10](&quot;helvetica&quot;,10),
Window[MAIN](title=&quot;Surface Area of Cones and Parabaloids&quot;,
[ halign=none,
  [ Button(&quot;New Problem&quot;, Evaluate(function=problem), background=magenta),
    HorizontalGlue(),
    Button(&quot;Quit&quot;, Shutdown(), background=pink)
  ],
  [ inset=0,
      TextBox[probstate](<Font encoding="UTF-8">sprintf(&quot;  Find the surface area of the ... given by ... below ... .\134n  The surface can be parametrized as: ... .&quot;)</Font>, width=75, height=2)#,
  ],
  [ [ border=true,
      caption=&quot;Rotate the plot with the mouse.&quot;,
      Plotter[surfplot](initplot, width=200,height=300)
    ],
    [ inset=0,
  [ border=true,
    caption=&quot;Find the maximum value of r:&quot;, 
    &quot;r_max =&quot;,
    TextField[TFrmax](width=5, background=turquoise),
    HorizontalGlue(),
    Button(&quot;Hint&quot;, Evaluate(function=&quot;hint1&quot;), background=lightorange),
    Button(&quot;Check&quot;, Evaluate(function=&quot;check1&quot;), background=green),
    Button(&quot;Show&quot;, Evaluate(function=&quot;show1&quot;), background=lightorange)
  ],
  BoxColumn( border=true,
    caption=&quot;Find the partial derivatives of the equation with respect to r and theta:&quot;,
    [ inset=0,
      &quot;e_r  =      &quot;,
      TextField[TFe_r](width=25, background=turquoise),
      HorizontalGlue(),
      Button(&quot;Hint&quot;, Evaluate(function=&quot;hint2&quot;), background=lightorange),
      Button(&quot;Check&quot;, Evaluate(function=&quot;check2&quot;), background=green),
      Button(&quot;Show&quot;, Evaluate(function=&quot;show2&quot;), background=lightorange)
    ],
    [ inset=0,
      &quot;e_theta =&quot;,
      TextField[TFe_theta](width=25, background=turquoise),
      HorizontalGlue(),
      Button(&quot;Hint&quot;, Evaluate(function=&quot;hint3&quot;), background=lightorange),
      Button(&quot;Check&quot;, Evaluate(function=&quot;check3&quot;), background=green),
      Button(&quot;Show&quot;, Evaluate(function=&quot;show3&quot;), background=lightorange)
    ]
  ),
  [ border=true,
    caption=&quot;Find the Normal Vector&quot;,
      &quot;N =&quot;,
      TextField[TFN](width=30, background=turquoise),
      HorizontalGlue(),
      Button(&quot;Hint&quot;, Evaluate(function=&quot;hint4&quot;), background=lightorange),
      Button(&quot;Check&quot;, Evaluate(function=&quot;check4&quot;), background=green),
      Button(&quot;Show&quot;, Evaluate(function=&quot;show4&quot;), background=lightorange)
  ],
  [ border=true,
    caption=&quot;Find the Length of the Normal Vector&quot;,
      &quot;Length of N =&quot;,
      TextField[TFlN](width=24, background=turquoise),
      HorizontalGlue(),
      Button(&quot;Hint&quot;, Evaluate(function=&quot;hint5&quot;), background=lightorange),
      Button(&quot;Check&quot;, Evaluate(function=&quot;check5&quot;), background=green),
      Button(&quot;Show&quot;, Evaluate(function=&quot;show5&quot;), background=lightorange)
  ], 
  [ border=true,
    caption=&quot;Find the Surface Area of the Surface&quot;,
      &quot;Surface Area =&quot;,
      TextField[TFSurfArea](width=23, background=turquoise),
      HorizontalGlue(),
      Button(&quot;Hint&quot;, Evaluate(function=&quot;hint6&quot;), background=lightorange),
      Button(&quot;Check&quot;, Evaluate(function=&quot;check6&quot;), background=green),
      Button(&quot;Show&quot;, Evaluate(function=&quot;show6&quot;), background=lightorange)
  ]
  ]
],
  [ TextField[reply](width=55, editable=false, background=white)
  ],
  [ halign=none, background=ColorFooter,
    Label(&quot;Programmers: Michael Cook &amp; Robert Garay&quot;, font=FontFooter),
    HorizontalGlue(),
    Label(&quot;Copyright: P. Yasskin 2009&quot;, font=FontFooter)
  ]
]
)):</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">Maplets[Display]( SurfacArea ):</Text-field>
</Input>
</Group>
<Group labelreference="L183" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
</Worksheet>
