<?xml version="1.0" encoding="UTF-8"?>
<Worksheet><Version major="6" minor="0"/><View-Properties><Zoom percentage="100"/></View-Properties><Styles><Layout alignment="left" firstindent="0.0" leftmargin="0.0" linebreak="space" linespacing="0.5" name="Maple Output12" rightmargin="0.0" spaceabove="0.0" spacebelow="0.0"/><Layout alignment="left" firstindent="0.0" leftmargin="0.0" linebreak="space" linespacing="0.0" name="Normal" rightmargin="0.0" spaceabove="0.0" spacebelow="0.0"/><Layout alignment="centred" firstindent="0.0" leftmargin="0.0" linebreak="space" linespacing="0.0" name="Maple Plot" rightmargin="0.0" spaceabove="0.0" spacebelow="0.0"/><Layout alignment="centred" firstindent="0.0" leftmargin="0.0" linebreak="space" linespacing="0.5" name="Maple Output" rightmargin="0.0" spaceabove="0.0" spacebelow="0.0"/><Font background="[0,0,0]" family="Times New Roman" name="Page Number" underline="false"/><Font background="[0,0,0]" bold="true" executable="true" family="Monospaced" foreground="[255,0,0]" name="Maple Input"/><Font background="[0,0,0]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" name="Maple Plot" readonly="false" size="12" underline="false"/><Font background="[0,0,0]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" name="ParagraphStyle1" readonly="false" size="12" underline="false"/><Font background="[0,0,0]" family="Times New Roman" name="2D Math_224" size="18" underline="false"/><Font background="[0,0,0]" family="Times New Roman" name="2D Math_223" size="18" underline="false"/><Font background="[0,0,0]" family="Times New Roman" name="2D Math_222" size="18" underline="false"/><Font background="[0,0,0]" family="Times New Roman" name="2D Math_221" size="18" underline="false"/><Font background="[0,0,0]" family="Times New Roman" name="2D Math_220" size="18" underline="false"/><Font background="[0,0,0]" family="Times New Roman" name="2D Math_219" size="18" underline="false"/><Font background="[0,0,0]" bold="true" family="Times New Roman" name="2D Math_218" size="18" underline="false"/><Font background="[0,0,0]" bold="true" family="Times New Roman" name="2D Math_217" size="18" underline="false"/><Font background="[0,0,0]" bold="true" family="Times New Roman" name="2D Math_216" size="18" underline="false"/><Font background="[0,0,0]" family="Times New Roman" foreground="[255,0,0]" name="2D Math_215" size="18" underline="false"/><Font background="[0,0,0]" family="Times New Roman" name="2D Math_214" size="18" underline="false"/><Font background="[0,0,0]" family="Times New Roman" name="2D Math_213" size="18" underline="false"/><Font background="[0,0,0]" family="Times New Roman" foreground="[255,0,0]" name="2D Math_212" size="18" underline="false"/><Font background="[0,0,0]" family="Times New Roman" foreground="[0,0,255]" name="2D Output" underline="false"/><Font background="[0,0,0]" bold="true" family="Times New Roman" name="2D Math_211" size="18" underline="false"/><Font background="[0,0,0]" family="Times New Roman" name="2D Math_210" size="18" underline="false"/><Font background="[0,0,0]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" name="Maple Output" readonly="false" size="12" underline="false"/><Font background="[0,0,0]" bold="true" name="_cstyle270"/><Font background="[0,0,0]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" name="Maple Output12" readonly="false" size="12" underline="false"/><Font background="[0,0,0]" family="Times New Roman" name="2D Math_209" size="18" underline="false"/><Font background="[0,0,0]" family="Times New Roman" name="2D Math_208" size="18" underline="false"/><Font background="[0,0,0]" family="Times New Roman" name="2D Math_207" size="18" underline="false"/><Font background="[0,0,0]" family="Times New Roman" foreground="[255,0,0]" name="2D Math_206" size="18" underline="false"/><Font background="[0,0,0]" family="Times New Roman" name="2D Math_205" size="18" underline="false"/><Font background="[0,0,0]" family="Times New Roman" name="2D Math_204" size="18" underline="false"/><Font background="[0,0,0]" family="Times New Roman" name="2D Math_203" size="18" underline="false"/><Font background="[0,0,0]" bold="true" name="_cstyle269"/><Font background="[0,0,0]" bold="true" name="_cstyle268"/><Font background="[0,0,0]" italic="true" name="_cstyle267"/><Font background="[0,0,0]" bold="true" name="_cstyle265"/><Font background="[0,0,0]" bold="true" name="_cstyle264"/><Font background="[0,0,0]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" name="Normal" readonly="false" size="12" underline="false"/><Font background="[0,0,0]" bold="true" name="_cstyle262"/><Font background="[0,0,0]" bold="true" name="_cstyle260"/><Font background="[0,0,0]" bold="true" name="_cstyle258"/><Font background="[0,0,0]" italic="true" name="_cstyle257"/><Font background="[0,0,0]" bold="true" name="_cstyle256" size="18"/></Styles><Page-Numbers enabled="false" first-number="1" first-numbered-page="1" horizontal-location="right" style="Page Number" vertical-location="bottom"/><Group><Input><Text-field layout="Normal" style="_cstyle256"><Font family="Times New Roman" foreground="[0,0,0]" italic="false" size="24" underline="false">MATH 156 LAB 8</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" style="_cstyle257"><Font bold="false" family="Times New Roman" foreground="[0,0,0]" size="18" underline="false">Topic 1: Arclength</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" style="Normal"><Font size="18">In the lecture we saw that the arclength of a function </Font><Equation input-equation="y = f(x);" style="2D Math_203">NiMvJSJ5Ry0lImZHNiMlInhH</Equation><Font size="18"> between </Font><Equation input-equation="a;" style="2D Math_204">NiMlImFH</Equation><Font size="18"> and </Font><Equation input-equation="b;" style="2D Math_205">NiMlImJH</Equation><Font size="18"> is given by the formula:</Font><Equation executable="true" input-equation="int(sqrt(1+diff(f, x)(x)^2), x = (a .. b))" style="2D Math_206">NiMtSSRpbnRHNiI2JC1JJXNxcnRHRiU2IywmIiIiRisqJC0tSSVkaWZmR0kqcHJvdGVjdGVkR0YwNiRJImZHRiVJInhHRiU2I0YzIiIjRisvRjM7SSJhR0YlSSJiR0Yl</Equation><Font size="18">.</Font></Text-field><Text-field layout="Normal" style="Normal"><Font size="18">We will use this formula to approximate </Font><Equation input-equation="Pi;" style="2D Math_207">NiMlI1BpRw==</Equation><Font size="18">. The equation of a circle of radius 1 is </Font><Equation input-equation="x^2+y^2 = 1;" style="2D Math_208">NiMvLCYqJCUieEciIiMiIiIqJCUieUdGJ0YoRig=</Equation><Font size="18">. We solve it for </Font><Equation input-equation="y;" style="2D Math_209">NiMlInlH</Equation><Font size="18"> to get </Font><Equation input-equation="y = sqrt(1-x^2);" style="2D Math_210">NiMvJSJ5Ry0lJXNxcnRHNiMsJiIiIkYpKiQlInhHIiIjISIi</Equation><Font size="18">.</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" style="Normal"><Font family="Times New Roman" foreground="[0,0,0]" italic="false" size="18" style="_cstyle258" underline="false">Explain why the integrand to compute the arclength of the circle is </Font><Equation input-equation="1/sqrt(1-x^2);" style="2D Math_211">NiMqJiIiIkYkLSUlc3FydEc2IywmRiRGJCokJSJ4RyIiIyEiIkYs</Equation><Font size="18">.  </Font></Text-field><Text-field layout="Normal" style="Normal"><Font size="18">This gives that the integral </Font><Equation executable="true" input-equation="int(1/sqrt(1-x^2),x = 0 .. sqrt(2)/2);" style="2D Math_212">NiMtJSRpbnRHNiQqJiIiIkYnLSUlc3FydEc2IywmRidGJyokJSJ4RyIiIyEiIkYvL0YtOyIiISomLUYpNiNGLkYnRi5GLw==</Equation><Font size="18">=</Font><Equation input-equation="Pi/4;" style="2D Math_213">NiMqJiUjUGlHIiIiIiIlISIi</Equation><Font size="18">   . So, to approximate </Font><Equation input-equation="Pi;" style="2D Math_214">NiMlI1BpRw==</Equation><Font size="18"> we can approximate the integral </Font><Equation executable="true" input-equation="int(4/sqrt(1-x^2),x = 0 .. sqrt(2)/2);" style="2D Math_215">NiMtJSRpbnRHNiQqJiIiJSIiIi0lJXNxcnRHNiMsJkYoRigqJCUieEciIiMhIiJGMC9GLjsiIiEqJi1GKjYjRi9GKEYvRjA=</Equation><Font size="18">. </Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" style="ParagraphStyle1"><Font family="Times New Roman" foreground="[0,0,0]" italic="false" size="18" style="_cstyle260" underline="false">Introduce this function and integral and use any of the Riemann sums that you have learnt to approximate </Font><Equation input-equation="Pi;" style="2D Math_216">NiMlI1BpRw==</Equation><Font family="Times New Roman" foreground="[0,0,0]" italic="false" size="18" style="_cstyle262" underline="false"> with 8 decimal digits. Make sure that you have upper and lower bounds (overestimates and underestimates) for </Font><Equation input-equation="Pi;" style="2D Math_217">NiMlI1BpRw==</Equation><Font family="Times New Roman" foreground="[0,0,0]" italic="false" size="18" style="_cstyle264" underline="false"> that allow you to compute these first 8 decimal digits.</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input><Output><Text-field layout="Maple Output" style="Maple Output"/></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input><Output><Text-field layout="Maple Output" style="Maple Output"/></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input><Output><Text-field layout="Maple Output" style="Maple Output"/></Output></Group><Group><Input><Text-field layout="Normal" style="Normal"><Font family="Times New Roman" foreground="[0,0,0]" italic="false" size="18" style="_cstyle265" underline="false">Explain which of these sums are overestimates, which ones are underestimates and why. Graph various Riemann sums to show your work. Graph the trapezoid sums and the midpoint sums for </Font><Equation input-equation="n = 1,2;" style="2D Math_218">NiQvJSJuRyIiIiIiIw==</Equation><Font size="18">.</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">with(plots):</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input><Output><Text-field layout="Maple Output12" style="Maple Output12"/><Text-field layout="Maple Output12" style="Maple Output12"/><Text-field layout="Maple Output12" style="Maple Output12"/></Output></Group><Group><Input><Text-field layout="Normal" style="Normal"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input><Output><Text-field layout="Maple Output12" style="Maple Output12"/></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input><Output><Text-field layout="Maple Plot" style="Maple Plot"/><Text-field layout="Maple Plot" style="Maple Plot"/><Text-field layout="Maple Plot" style="Maple Plot"/><Text-field layout="Maple Plot" style="Maple Plot"/><Text-field layout="Maple Plot" style="Maple Plot"/><Text-field layout="Maple Plot" style="Maple Plot"/><Text-field layout="Maple Plot" style="Maple Plot"/><Text-field layout="Maple Plot" style="Maple Plot"/></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input><Output><Text-field layout="Maple Output" style="Maple Output"/></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input><Output><Text-field layout="Maple Output" style="Maple Output"/></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/><Text-field layout="Normal" style="Normal"/></Input><Output><Text-field layout="Maple Output" style="Maple Output"/></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false"> </Font></Text-field></Input><Output><Text-field layout="Maple Output12" style="Maple Output12"/></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input><Output><Text-field layout="Maple Plot" style="Maple Plot"/></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Output><Text-field layout="Maple Plot" style="Maple Plot"/></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Output><Text-field layout="Maple Output12" style="Maple Output12"/></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input><Output><Text-field layout="Maple Plot" style="Maple Plot"/></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input><Output><Text-field layout="Maple Output" style="Maple Output"/></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input><Output><Text-field layout="Maple Output12" style="Maple Output12"/></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input><Output><Text-field layout="Maple Plot" style="Maple Plot"/></Output></Group><Group><Input><Text-field layout="Normal" style="Normal"><Font size="18">Now we can attack an interesting and difficult problem: the arclength of an ellipse. We will work with the ellipse </Font><Equation input-equation="x^2+y^2/4 = 1;" style="2D Math_219">NiMvLCYqJCUieEciIiMiIiIqJiUieUdGJyIiJSEiIkYoRig=</Equation><Font size="18">. We can solve it to get the function</Font></Text-field><Text-field layout="Normal" style="Normal"><Equation input-equation="y = 2*sqrt(1-x^2);" style="2D Math_220">NiMvJSJ5RyomIiIjIiIiLSUlc3FydEc2IywmRidGJyokJSJ4R0YmISIiRic=</Equation><Font size="18">. This gives the arclength of one quarter of the ellipse to be </Font><Equation input-equation="int(sqrt((1+3*x^2)/(1-x^2)),x = 0 .. 1);" style="2D Math_221">NiMtJSRpbnRHNiQtJSVzcXJ0RzYjKiYsJiIiIkYrKiYiIiRGKyokJSJ4RyIiI0YrRitGKywmRitGK0YuISIiRjIvRi87IiIhRis=</Equation><Font size="18">. <Font family="Times New Roman" foreground="[0,0,0]" italic="false" style="_cstyle270" underline="false">Find the length of the whole ellipse using any method of Riemann sums that you learnt. Explain why this is the correct integral. Make sure you get underestimates and overestimates and decide how many decimal digits you have computed. Since the function is not defined at 1, we can use right-hand sum with upper limit 0.9999999. </Font></Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" style="Normal"><Font size="18">Let us first define the function </Font><Equation input-equation="s(x);" style="2D Math_222">NiMtJSJzRzYjJSJ4Rw==</Equation><Font size="18"> and then we can ask Maple to do the integration.</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">s:=x-&gt;4*sqrt((1+3*x^2)/(1-x^2));</Font></Text-field></Input><Output><Text-field layout="Maple Output" style="Maple Output"/></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">ellipselength:=Int(s(x), x=0..1);</Font></Text-field></Input><Output><Text-field layout="Maple Output" style="Maple Output"/></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">value(ellipselength);</Font></Text-field></Input><Output><Text-field layout="Maple Output" style="Maple Output"/></Output></Group><Group><Input><Text-field layout="Normal" style="Normal"><Font size="18">As you see Maple cannot integrate this function. So we can only approximate the answer.</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">t:=evalf(ellipselength);</Font></Text-field></Input><Output><Text-field layout="Maple Output" style="2D Output"><Equation style="2D Output">NiM+JSJ0RyQiK0AjWyUpbyohIio=</Equation></Text-field></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input><Output><Text-field layout="Maple Plot" style="Maple Plot"/></Output></Group><Group><Input><Text-field layout="Normal" style="Normal"><Font bold="false" family="Times New Roman" foreground="[0,0,0]" size="18" style="_cstyle267" underline="false">Topic 2: Some more graphing on volumes of revolution</Font><Font size="18">.</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" style="Normal"><Font size="18">Humpty Dumpty decides to eat a donut, which is the solid of revolution, when we revolve around the </Font><Equation input-equation="y;" style="2D Math_223">NiMlInlH</Equation><Font size="18">-axis the circle </Font><Equation input-equation="(x-2)^2+y^2 = 1;" style="2D Math_224">NiMvLCYqJCwmJSJ4RyIiIiIiIyEiIkYpRigqJCUieUdGKUYoRig=</Equation><Font size="18">. <Font family="Times New Roman" foreground="[0,0,0]" italic="false" style="_cstyle268" underline="false">Plot the donut, called in mathematics torus, and compute its volume. Explain why this is the correct integral using any of the methods you learnt: discs, washers, cylindrical shells.</Font></Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input><Output><Text-field layout="Maple Output" style="Maple Output"/></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input><Output><Text-field layout="Maple Output" style="Maple Output"/></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input><Output><Text-field layout="Maple Output12" style="Maple Output12"/></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input><Output><Text-field layout="Maple Output12" style="Maple Output12"/></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input><Output><Text-field layout="Maple Plot" style="Maple Plot"/></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input><Output><Text-field layout="Maple Output" style="Maple Output"/><Text-field layout="Maple Output" style="Maple Output"/></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input><Output><Text-field layout="Maple Output" style="Maple Output"/></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input><Output><Text-field layout="Maple Output" style="Maple Output"/></Output></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input><Output><Text-field layout="Maple Plot" style="Maple Plot"/></Output></Group><Group><Input><Text-field layout="Normal" style="Normal"><Font family="Times New Roman" foreground="[0,0,0]" italic="false" size="18" style="_cstyle269" underline="false">Evaluate the integral with the integration techniques you know</Font><Font size="18">.</Font></Text-field></Input></Group><Text-field/></Worksheet>