<?xml version="1.0" encoding="UTF-8"?>
<Worksheet>
<Version major="7" minor="1"/>
<Label-Scheme value="2" prefix=""/>
<View-Properties presentation="false"><Zoom percentage="75"/></View-Properties>
<MapleNet-Properties warnlevel="3" longdelim="true" plotoptions="" echo="1" errorcursor="false" elisiontermsthreshold="10000" elisiontermsbefore="100" errorbreak="1" prettyprint="2" prompt="&gt; " latexwidth="6.0" useclientjvm="true" ansi="false" screenheight="25" labelwidth="20" plotdevice="inline" typesetting="standard" displayprecision="-1" indentamount="4" elisiondigitsthreshold="10000" quiet="false" plotoutput="terminal" rtablesize="10" preplot="" showassumed="1" plotdriver="openviz" elisiontermsafter="100" labelling="true" postplot="" screenwidth="79" elisiondigitsbefore="100" elisiondigitsafter="100" verboseproc="1" imaginaryunit="I" ShowLabels="true"/>
<Styles><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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<Font name="Equation Label" background="[255,255,255]" bold="true" executable="false" family="Monospaced" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="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"/>
<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"/>
<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"/>
<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"/>
<Font name="Page Number" 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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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 1" pen-color="[0,0,0]" pen-height="1.0" pen-width="1.0" pen-opacity="1.0"/>
<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 2" pen-color="[0,0,255]" pen-height="1.0" pen-width="1.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"/>
<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 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 1" pen-color="[255,153,255]" pen-height="12.0" pen-width="8.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>
<Group autoexecute="true" labelreference="L461" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">restart;</Text-field>
</Input>
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">with( plots ):</Text-field>
</Input>
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">with( plottools ):</Text-field>
</Input>
</Group>
<Group labelreference="L462" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L467" drawlabel="true">
<Input>
<Text-field style="Text" layout="Normal" alignment="centred"><Font size="24">Shrinking Sphere Problem</Font></Text-field>
<Text-field style="Text" layout="Normal" alignment="centred"></Text-field>
<Text-field style="Text" size="18" layout="Normal" alignment="centred"><Font size="18">Derivation of General Formula for Intersection of S and S_r,</Font></Text-field>
<Text-field style="Text" size="18" layout="Normal" alignment="centred"><Font size="18">and Its Projection from the Top of S_r onto the z=0 Plane</Font></Text-field>
<Text-field style="Text" size="18" layout="Normal" alignment="centred"><Font size="18">When S is a Cone</Font></Text-field>
<Text-field style="Text" layout="Normal" alignment="centred"></Text-field>
<Text-field style="Text" size="14" layout="Normal" alignment="centred"><Font size="14">Douglas B. Meade</Font></Text-field>
<Text-field style="Text" size="14" layout="Normal" alignment="centred"><Font size="14">9 February 2007</Font></Text-field>
</Input>
</Group>
<Group labelreference="L466" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Section collapsed="false" MultipleChoiceAnswerIndex="-1" MultipleChoiceRandomizeChoices="false" TrueFalseAnswerIndex="-1" EssayAnswerRows="5" EssayAnswerColumns="60"><Title>
<Text-field style="Heading 1" layout="Heading 1">Initial Configuration: the S (cone) and S_r (sphere) and the point P</Text-field></Title>
<Group autoexecute="true" labelreference="L448" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">S  := (a,b) -&gt; x^2+(y-a)^2=(z-b)^2;  # fixed surface</Text-field>
</Input>
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">Sr := r -&gt; x^2+y^2+z^2=r^2;      # shrinking sphere</Text-field>
</Input>
<Input>
<Text-field prompt="&gt; " style="Maple Input" linebreak="space" spaceabove="0" rightmargin="0" bullet="none" firstindent="0" linespacing="0.0" pagebreak-before="false" leftmargin="0" alignment="left" initial="0" spacebelow="0">P  := r -&gt; [ 0, 0, r ];          # top of shrinking sphere</Text-field>
</Input>
</Group>
<Group labelreference="L465" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group autoexecute="true" labelreference="L494" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">plotP  := r     -&gt; plot3d( P(r), x=-1..1, y=-1..1, style=point, symbol=circle, symbolsize=10, color=blue ):</Text-field>
</Input>
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">plotS  := (a,b) -&gt; implicitplot3d( S(a,b), x= -2*b..2*b, y=a-2*b..a+2*b, z=-b..b,
                                   color=pink, style=patchnogrid, transparency=0.8, grid=[25,25,25] ):</Text-field>
</Input>
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">plotSr := r     -&gt; implicitplot3d( Sr(r), x=-r..r, y=-r..r, z=-r..r,
                                   color=cyan, style=patchnogrid, transparency=0.8 ):</Text-field>
</Input>
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">P1 := (r,a,b)   -&gt; display( [plotP(r),plotS(a,b),plotSr(r)],
                            axes=normal, labels=[&quot;x&quot;,&quot;y&quot;,&quot;z&quot;], orientation=[25,65], args[4..-1] ):</Text-field>
</Input>
</Group>
<Group labelreference="L556" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">P1(1,1,1, scaling=constrained);</Text-field>
</Input>
</Group>
<Group labelreference="L524" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
</Section>
<Section collapsed="false" MultipleChoiceAnswerIndex="-1" MultipleChoiceRandomizeChoices="false" TrueFalseAnswerIndex="-1" EssayAnswerRows="5" EssayAnswerColumns="60"><Title>
<Text-field style="Heading 1" layout="Heading 1">Construction of Q: Intersection of S and S_r</Text-field></Title>
<Group labelreference="L468" drawlabel="true">
<Input>
<Text-field style="Text" layout="Normal">The intersection between these two spheres is a circle, parallel to the x=0 plane.</Text-field>
</Input>
</Group>
<Group autoexecute="true" labelreference="L458" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">Intersection := [allvalues( solve( {S(a,b),Sr(r)}, {x,y,z} ) )] ;</Text-field>
</Input>
</Group>
<Group labelreference="L476" drawlabel="true">
<Input>
<Text-field style="Text" layout="Normal">There are two parts to this solution.</Text-field>
</Input>
</Group>
<Group autoexecute="true" labelreference="L608" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">xPOS := p-&gt;evalb( eval(x, eval(p,[r=1.,a=1.,b=1.,z=0.]))&gt;0 ):</Text-field>
</Input>
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">Q := [ unapply( eval( [x,y,z], select( xPOS, Intersection )[] ), [z,r,a,b] ),</Text-field>
</Input>
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">       unapply( eval( [x,y,z], remove( xPOS, Intersection )[] ), [z,r,a,b] ) ]:</Text-field>
</Input>
</Group>
<Group labelreference="L609" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">piecewise( x&gt;0, Q[1](z,r,a,b), x&lt;0, Q[2](z,r,a,b) );</Text-field>
</Input>
</Group>
<Group labelreference="L572" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L487" drawlabel="true">
<Input>
<Text-field style="Text" layout="Normal">To construct the projection from the top of the shrinking sphere through Q onto the z=0 plane, the parameterization of Q can be done in terms of z, ranging from the lowest value of 0 to the maximum value of</Text-field>
</Input>
</Group>
<Group autoexecute="true" labelreference="L594" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">zM := (r,a,b) -&gt; b*r/sqrt(a^2+b^2);</Text-field>
</Input>
</Group>
<Group labelreference="L595" drawlabel="true">
<Input>
<Text-field style="Text" layout="Normal">(and back down to zero). Actually, the intersection exists for all z from -zM to zM (with x&gt;0) and back down to -zM (with x&lt;0)</Text-field>
</Input>
</Group>
<Group labelreference="L592" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L588" drawlabel="true">
<Input>
<Text-field style="Text" layout="Normal">This curve is not easily identified.</Text-field>
</Input>
</Group>
<Group autoexecute="true" labelreference="L496" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">plotQ := (r,a,b) -&gt; display( [seq(</Text-field>
</Input>
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">                               spacecurve( Q[i](z,r,a,b), z=-zM(r,a,b)..zM(r,a,b), color=gold, thickness=2 ),</Text-field>
</Input>
<Input>
<Text-field prompt="&gt; " style="Maple Input" linebreak="space" spaceabove="0" rightmargin="0" bullet="none" firstindent="0" linespacing="0.0" pagebreak-before="false" leftmargin="0" alignment="left" initial="0" spacebelow="0">                               i=1..2 )] ):</Text-field>
</Input>
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">P2    := (r,a,b) -&gt; display( [plotP(r),plotS(a,b),plotSr(r),plotQ(r,a,b)],
                           axes=normal, labels=[&quot;x&quot;,&quot;y&quot;,&quot;z&quot;], orientation=[45,60], scaling=constrained ):</Text-field>
</Input>
</Group>
<Group labelreference="L558" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">P2(1,1,1);</Text-field>
</Input>
</Group>
<Group labelreference="L583" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
</Section>
<Section collapsed="false" MultipleChoiceAnswerIndex="-1" MultipleChoiceRandomizeChoices="false" TrueFalseAnswerIndex="-1" EssayAnswerRows="5" EssayAnswerColumns="60"><Title>
<Text-field style="Heading 1" layout="Heading 1">Construction of R: Projection of Q, from P, onto z=0 plane</Text-field></Title>
<Group labelreference="L499" drawlabel="true">
<Input>
<Text-field style="Text" layout="Normal">For each angle theta, the lines passing through P and the point Q(theta) can be parameterized in terms of the (scaled) distance measured along this line.</Text-field>
</Input>
</Group>
<Group autoexecute="true" labelreference="L489" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"> LinePQ  := [seq( unapply( expand( (1-alpha)*P(r) + alpha*Q[i](z,r,a,b) ), [alpha,z,r,a,b] ), i=1..2 )]:</Text-field>
</Input>
</Group>
<Group labelreference="L610" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">piecewise( x&gt;0, LinePQ[1](alpha,z,r,a,b), x&lt;0, LinePQ[2](alpha,z,r,a,b) );</Text-field>
</Input>
</Group>
<Group labelreference="L511" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L502" drawlabel="true">
<Input>
<Text-field style="Text" layout="Normal">The value of the parameter alpha when these lines hit the z=0 plane are given by</Text-field>
</Input>
</Group>
<Group autoexecute="true" labelreference="L500" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" linebreak="space" spaceabove="0" rightmargin="0" bullet="none" firstindent="0" linespacing="0.0" pagebreak-before="false" leftmargin="0" alignment="left" initial="0" spacebelow="0">alpha0   := unapply( [simplify( solve( LinePQ[1](alpha,z,r,a,b)[3]=0, alpha ) ) assuming a&gt;0, r&gt;0][],
                     [z,r,a,b] );</Text-field>
</Input>
</Group>
<Group labelreference="L455" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L522" drawlabel="true">
<Input>
<Text-field style="Text" layout="Normal">Thus, the parametric representation of of the projected curve, R, in the z=0 plane is</Text-field>
</Input>
</Group>
<Group autoexecute="true" labelreference="L506" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">R := [seq( unapply( [simplify( LinePQ[i](alpha0(z,r,a,b),z,r,a,b) ) assuming a&gt;0, b&gt;0, r&gt;0][], [z,r,a,b] ), i=1..2 )]:</Text-field>
</Input>
</Group>
<Group labelreference="L611" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">piecewise( x&gt;0, R[1](z,r,a,b), x&lt;0, R[2](z,r,a,b) );</Text-field>
</Input>
</Group>
<Group labelreference="L523" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L526" drawlabel="true">
<Input>
<Text-field style="Text" layout="Normal">This completes the constructions needed to put all of this together in one animation.</Text-field>
</Input>
</Group>
<Group autoexecute="true" labelreference="L503" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">plotR := (r,a,b) -&gt; display( [seq( spacecurve( R[i](z,r,a,b), z=-zM(r,a,b)..  zM(r,a,b), numpoints=201, color=red, thickness=1 ), i=1..2 )] ):</Text-field>
</Input>
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">P3    := (r,a,b) -&gt; display( [P2(r,a,b),plotR(r,a,b)] ):</Text-field>
</Input>
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">animQ := (r,a,b) -&gt; display( [seq( animate( spacecurve, [LinePQ[i](alpha,z,r,a,b), alpha=0..alpha0(z,r,a,b)], z=-zM(r,a,b)..  zM(r,a,b),
                                      color=blue, thickness=2, orientation=[25,65], background=P3(r,a,b),
                                      scaling=constrained, frames=21 ), i=1..2 )] ):</Text-field>
</Input>
</Group>
<Group labelreference="L614" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">P3(1/2,1,1);</Text-field>
</Input>
</Group>
<Group labelreference="L610" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L525" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">animQ(1,1,1);</Text-field>
</Input>
</Group>
<Group labelreference="L519" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">animQ(1/2,1,1);</Text-field>
</Input>
</Group>
<Group labelreference="L527" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
</Section>
<Section collapsed="false" MultipleChoiceAnswerIndex="-1" MultipleChoiceRandomizeChoices="false" TrueFalseAnswerIndex="-1" EssayAnswerRows="5" EssayAnswerColumns="60"><Title>
<Text-field style="Heading 1" layout="Heading 1">Limit as r -&gt; 0</Text-field></Title>
<Group labelreference="L528" drawlabel="true">
<Input>
<Text-field style="Text" layout="Normal">These plots already illustrate the rapid convergence of every point on the curves R - except the one on the x-axis - to the origin (as r-&gt;0). Let's look at the parametric form of R. The three components are (for x&gt;0):</Text-field>
</Input>
</Group>
<Group autoexecute="true" labelreference="L509" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">X,Y,Z := R[2](zeta,r,a,b)[]:
x=X;
y=Y;
z=Z;</Text-field>
</Input>
</Group>
<Group labelreference="L532" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L531" drawlabel="true">
<Input>
<Text-field style="Text" layout="Normal">Notice that, since a&lt;&gt;0, the maximum value of the parameter is strictly less than r. Hence, there are no indeterminate forms, and each of the above expressions converges to 0 (as r-&gt;0).</Text-field>
</Input>
</Group>
<Group autoexecute="true" labelreference="L533" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">map( limit, [X,Y,Z], r=0, right );</Text-field>
</Input>
</Group>
<Group labelreference="L530" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L545" drawlabel="true">
<Input>
<Text-field style="Text" layout="Normal">We close with an animation that shows this convergence.</Text-field>
</Input>
</Group>
<Group autoexecute="true" labelreference="L553" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">#to3d := transform( (x,y)-&gt;[x,y,0] ):</Text-field>
</Input>
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">#plotR0 := a -&gt; to3d( implicitplot( x^2 + (y-2*a)^2 = 4*a^2, x=-2*a..2*a, y=0..4*a, color=green ) ):</Text-field>
</Input>
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">animR := (a,b) -&gt; animate( P3, [1-r,a,b], r=0..1, frames=20, numpoints=201, paraminfo=false ):#, background=plotR0(a) ):</Text-field>
</Input>
</Group>
<Group labelreference="L614" drawlabel="true">
<Input>
<Text-field style="Text" layout="Normal"></Text-field>
</Input>
</Group>
<Group labelreference="L547" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal">animR(1,1);  # Be patient! This animation could take a while to create.</Text-field>
</Input>
</Group>
<Group labelreference="L555" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
</Section>
<Group labelreference="L562" drawlabel="true">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
</Input>
</Group>
</Worksheet>