{VERSION 6 0 "IBM INTEL NT" "6.0" } {USTYLETAB {CSTYLE "Maple Input" -1 0 "Courier" 0 1 255 0 0 1 0 1 0 0 1 0 0 0 0 1 }{CSTYLE "2D Math" -1 2 "Times" 0 1 0 0 0 0 0 0 2 0 0 0 0 0 0 1 }{CSTYLE "2D Comment" 2 18 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 } {CSTYLE "2D Output" 2 20 "" 0 1 0 0 255 1 0 0 0 0 0 0 0 0 0 1 } {CSTYLE "" -1 256 "" 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 1 }{CSTYLE "" -1 257 "" 1 14 0 0 0 0 0 0 0 0 0 0 0 0 0 1 }{CSTYLE "" -1 258 "" 1 14 0 0 0 0 0 1 0 0 0 0 0 0 0 1 }{CSTYLE "" -1 259 "" 1 14 0 0 0 0 0 0 0 0 0 0 0 0 0 1 }{CSTYLE "" -1 260 "" 1 14 0 0 0 0 0 1 0 0 0 0 0 0 0 1 } {CSTYLE "" -1 261 "" 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 }{CSTYLE "" -1 262 "" 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 }{CSTYLE "" -1 265 "" 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 }{PSTYLE "Normal" -1 0 1 {CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 } {PSTYLE "Text Output" -1 2 1 {CSTYLE "" -1 -1 "Courier" 1 10 0 0 255 1 0 0 0 0 0 1 3 0 3 0 }1 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }{PSTYLE "Headi ng 1" 0 3 1 {CSTYLE "" -1 -1 "" 1 18 0 0 0 0 0 1 0 0 0 0 0 0 0 1 }1 0 0 0 8 4 0 0 0 0 0 0 -1 0 }{PSTYLE "Warning" 2 7 1 {CSTYLE "" -1 -1 "" 0 1 0 0 255 1 0 0 0 0 0 0 1 0 0 0 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 } {PSTYLE "Error" 7 8 1 {CSTYLE "" -1 -1 "" 0 1 255 0 255 1 0 0 0 0 0 0 0 0 0 0 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }{PSTYLE "Maple Output" 0 11 1 {CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 }3 3 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }{PSTYLE "Maple Plot" 0 13 1 {CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 }3 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }{PSTYLE "Title" 0 18 1 {CSTYLE "" -1 -1 "" 1 18 0 0 0 0 0 1 1 0 0 0 0 0 0 1 } 3 0 0 -1 12 12 0 0 0 0 0 0 19 0 }{PSTYLE "" 0 256 1 {CSTYLE "" -1 -1 " " 1 14 0 0 0 0 0 0 0 0 0 0 0 0 0 1 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 } } {SECT 0 {EXCHG {PARA 18 "" 0 "" {TEXT -1 83 "Lab # 6 Antidifferentiati on, Integral Curves, Direction Fields, Area Appoximations " }}}{SECT 1 {PARA 3 "" 0 "" {TEXT -1 72 "1. Antidifferentiation: The \"Int\" an d \"int\" commands, Integral Curves. " }}{PARA 0 "" 0 "" {TEXT -1 101 "The command for antidifferentiation (Indefinite Integration) is \"int (function, variable)\". Note: " }{TEXT 261 56 "Maple does not put \+ the \"+C\" in the answer of integration" }{TEXT -1 79 ". We start wit h an easy one. What is an antiderivative of the function f(x) = " } {XPPEDIT 18 0 "x^2;" "6#*$%\"xG\"\"#" }{TEXT -1 15 "? ie. What is " } {XPPEDIT 18 0 "Int(x^2,x);" "6#-%$IntG6$*$%\"xG\"\"#F'" }{TEXT -1 4 " \+ ? " }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 7 "Int(x^2" }{TEXT -1 0 " " }{MPLTEXT 1 0 5 ", x);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#-%$IntG6$* $)%\"xG\"\"#\"\"\"F(" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 294 "This has done us little good. It just rewrote the integral in mathematical no tation. The only use I can think of for the \"Int\" with a capital \" I\" is that it produces mathematical notation good for cutting and pas ting into text. You can actually evalute this integral with the comma nd \"value\"" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 9 "value(%);" } }{PARA 11 "" 1 "" {XPPMATH 20 "6#,$*&\"\"$!\"\"%\"xGF%\"\"\"" }}} {EXCHG {PARA 0 "" 0 "" {TEXT -1 104 "Note: This is \"an\" antiderivat ive. Specifically, the one where the constant of integration equals ze ro." }}{PARA 0 "" 0 "" {TEXT -1 71 "The \"int\" command with a small \+ \"i\" replaces this sequence of commands. " }}}{EXCHG {PARA 0 "> " 0 " " {MPLTEXT 1 0 11 "int(x^2,x);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#,$*& \"\"$!\"\"%\"xGF%\"\"\"" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 86 "Notice , you must put in the independent variable. Here's what happens if yo u don't. " }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 9 "int(x^2);" }} {PARA 8 "" 1 "" {TEXT -1 52 "Error, (in int) wrong number (or type) of arguments\n" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 " " {TEXT -1 87 "How about a more difficult problem. What is the antider ivative of the function f(x) = " }{XPPEDIT 18 0 "(exp(x)+exp(-x))/(ex p(x)-exp(-x));" "6#*&,&-%$expG6#%\"xG\"\"\"-F&6#,$F(!\"\"F)F),&-F&6#F( F)-F&6#,$F(F-F-F-" }{TEXT -1 22 " ? If you let u = " }{XPPEDIT 18 0 "exp(x)-exp(-x);" "6#,&-%$expG6#%\"xG\"\"\"-F%6#,$F'!\"\"F," }{TEXT -1 57 " you will notice that you have an integral of the form " } {XPPEDIT 18 0 "Int(1/u,u);" "6#-%$IntG6$*&\"\"\"F'%\"uG!\"\"F(" } {TEXT -1 73 " which you should recognize as ln(|u|) + C. Can Maple f igure this out? " }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 78 "f := x \+ -> (exp(x) + exp(-x))/(exp(x) - exp(-x)); # this defines the integran d" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%\"fGf*6#%\"xG6\"6$%)operatorG%& arrowGF(*&,&-%$expG6#9$\"\"\"-F/6#,$F1!\"\"F2F2,&F.F2F3F6F6F(F(F(" }}} {EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 46 "int(f(x),x); # this finds \+ the antiderivative" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#-%#lnG6#,&-%$exp G6#%\"xG\"\"\"-F(6#,$F*!\"\"F/" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 99 "Maple got it. Again, the arbitrary constant is not included in the an swer. The actual answer is " }{XPPEDIT 18 0 "ln(exp(x)-exp(-x));" " 6#-%#lnG6#,&-%$expG6#%\"xG\"\"\"-F(6#,$F*!\"\"F/" }{TEXT -1 7 " + C. \+ " }}}{EXCHG {PARA 0 "" 0 "" {TEXT 265 16 "Integral Curves:" }{TEXT -1 215 " Suppose we want to plot some integral curves. This amounts to p lotting the antideritive of f(x) for various values of the arbitrary c onstant C. Here I define a function (the antiderivative of f(x)) of \+ x and C. " }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 39 "F := (x,C) -> ln(exp(x) - exp(-x)) + C;" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%\"FGf* 6$%\"xG%\"CG6\"6$%)operatorG%&arrowGF),&-%#lnG6#,&-%$expG6#9$\"\"\"-F3 6#,$F5!\"\"F:F69%F6F)F)F)" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 77 "and \+ plot this function over a range of x values for different values of C \+ by " }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 60 "plot([F(x,-1),F(x,0) ,F(x,1)],x=0..1,color=[red,green,blue]);" }}{PARA 13 "" 1 "" {GLPLOT2D 400 300 300 {PLOTDATA 2 "6'-%'CURVESG6$7^o7$$\"3`*****\\n5; \"o!#@$!3e8xt0Xc)f(!#<7$$\"3#******\\8ABO\"!#?$!3*4Z(=$4bF- 7$$\"3S+++v1h6oF1$!3y**)yqvrfH&F-7$$\"3Y******4G$R<)F1$!35[[x(zYO6&F-7 $$\"3N*****\\%\\DO&*F1$!3Qj_!o4#\\f\\F-7$$\"3%******zqd)*3\"!#>$!3-r\" 4W1cf#[F-7$$\"33+++N@Ki8F^o$!3>V$ywP,Gg%F-7$$\"3*)*****>c'yM;F^o$!3W(4 )*4@m/U%F-7$$\"3()******))4D2>F^o$!31(GboW*HmUF-7$$\"3')*****fT:(z@F^o $!3j4P`&\\\\F8%F-7$$\"3#*******zZ*z7$F^o$!3AK-M%yn9x$F-7$$\"33+++XTFwS F^o$!3JF'4eril]$F-7$$\"3=+++qMrU^F^o$!35j@'**R,SF$F-7$$\"3&******4z_\" 4iF^o$!3%*GkFogN&3$F-7$$\"3y*****\\;hEG(F^o$!3zYH.pGkDHF-7$$\"3o****** R&phN)F^o$!3#R#\\e$Qfyy#F-7$$\"3++++*=)H\\5!#=$!3#3@\"p\"*>[fDF-7$$\"3 %******z/3uC\"Ffr$!3CQhDT!ydQ#F-7$$\"35+++J$RDX\"Ffr$!3'RSYQk5EB#F-7$$ \"37+++)R'ok;Ffr$!3w\"o%[!y'=&4#F-7$$\"3-+++1J:w=Ffr$!3WbS1OZNu>F-7$$ \"33+++3En$4#Ffr$!3Q$)R9IIAj=F-7$$\"3-+++/RE&G#Ffr$!3a98(3XnUx\"F-7$$ \"3\")*****\\K]4]#Ffr$!3[M*QP=kBo\"F-7$$\"3$******\\PAvr#Ffr$!3Cyf#GGR uf\"F-7$$\"3)******\\nHi#HFfr$!3\\os'eE#\\@:F-7$$\"3*)*****p*ev:JFfr$!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F]p$!3'\\O<)z!)=w@F]p7$$\"3Z*****\\xJLu)F]p$!3TL#))G`4Ur\"F]p7$ $\"3e*****R*ydd!*F]p$!3)eH%=e\\Xs7F]p7$$\"3%******>v3/*[UFJ7$$\"3'******\\!Q*>1\"F- $\"3A![9\"*ok!3!)FJ7$$\"35+++R(zS4\"F-$\"3XWLFSAr07F]p7$$\"36+++-,FC6F -$\"33mOZ&4P8e\"F]p7$$\"3-+++Jx#e:\"F-$\"3o7[LBV$)o>F]p7$$\"3!******43 \"o'=\"F-$\"3*pvYWG\"F-$\"3gT<+(o/=Z$F]p7$ $\"32+++(4bMJ\"F-$\"3:vxtu/?QQF]p7$$\"36+++ylWU8F-$\"3Q8*Qx(Q#><%F]p7$ $\"33+++'3ucP\"F-$\"3#y(G;`\"o6b%F]p7$$\"3++++lJR09F-$\"3o)G7;rMw)[F]p 7$$\"3-+++-*zqV\"F-$\"3c_*H>nIPC&F]p7$$\"31+++`\"3uY\"F-$\"3e&\\+2sq@e &F]p7$$\"3++++++++:F-$\"34$)HdqFWVfF]p-%'COLOURG6&%$RGBG$\"#5!\"\"$\" \"!Fj^lFi^l-%+AXESLABELSG6$Q\"x6\"Q!F__l-%%VIEWG6$;Fi^l$\"#:Fh^l%(DEFA ULTG" 1 2 0 1 10 0 2 9 1 4 2 1.000000 45.000000 45.000000 0 0 "Curve 1 " }}}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 108 "It sure looks like this goe s through the point (1,0). How can you be sure? Evaluate F at x = 1 a nd C = C1. " }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 8 "F(1,C1);" }} {PARA 11 "" 1 "" {XPPMATH 20 "6#,&-%#lnG6#,&-%$expG6#\"\"\"F+-F)6#!\" \"F.F+$\"+?a'ea)!#5F." }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 66 "Is this \+ zero? Have Maple evaluate this as a floating point number" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 15 "evalf(F(1,C1));" }}{PARA 11 "" 1 " " {XPPMATH 20 "6#$\"\"!F$" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 7 "Bingo . " }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 0 "" }{TEXT 262 10 "Summary: \+ " }}{PARA 0 "" 0 "" {TEXT -1 91 "1) Use the \"int(function, variable) \" to evaluate indefinite integrals (antidifferentiate). " }}{PARA 0 " " 0 "" {TEXT -1 88 "2) If you want to see the integral in mathematical notation use \"Int(function,variable)\"" }}{PARA 0 "" 0 "" {TEXT -1 78 "3) Remember, that the constant of integration is excluded from Map le's answer." }}{PARA 0 "" 0 "" {TEXT -1 76 "4) You can solve for the \+ constant of integration using Maple if necessary. " }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 21 "# end of this section" }}}}{SECT 1 {PARA 3 "" 0 "" {TEXT -1 44 "2. Area Approximations, Summation Techniques" } }{EXCHG {PARA 0 "" 0 "" {TEXT -1 442 "In this section you will learn h ow to use Maple to visualize the approximate area under a positive fun ction using boxes (rectangles really). There is another command to f ind the summed area of these boxes (again rectangles). This command w ill be used with the limit command to find the area under the curve. \+ The maple commands that draw boxes and compute the areas are part of t he \"student\" package which you must load in order to access." }}} {EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 39 "restart: # this clears al l variables" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 48 "with(student ): # this loads the student library" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 39 "To approximate the area under the cuve " }{XPPEDIT 18 0 "f(x) = x^2;" "6#/-%\"fG6#%\"xG*$F'\"\"#" }{TEXT -1 102 " over the interval f rom 1 to 3, several boxes can be used. The following command draws t he graph of " }{XPPEDIT 18 0 "f(x) = x^2;" "6#/-%\"fG6#%\"xG*$F'\"\"# " }{TEXT -1 41 " and six boxes using the left end points." }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 25 "leftbox(x^2, x = 1..3,6);" }}{PARA 13 "" 1 "" {GLPLOT2D 400 300 300 {PLOTDATA 2 "6+-%)POLYGONSG6$7&7$$\" \"\"\"\"!$F*F*7$F(F(7$$\"+LLLL8!\"*F(7$F.F+-%&COLORG6&%$RGBG$\"\"(!\" \"$\"\"*F8F6-F$6$7&F17$F.$\"+yxxxqtpp6F^p7$$\"3XLL$e0$ =C6F^p$\"3krF-Vvyj7F^p7$$\"3QLL$3RBr;\"F^p$\"3%yHI%4qLLezs$HL\"F^p$\"3)o,.8z@nx\"F^p 7$$\"31++D@1Bv8F^p$\"3?hOih#f7*=F^p7$$\"3pmmm@Xt=9F^p$\"3PX(oHk2G,#F^p 7$$\"3MLL$3y_qX\"F^p$\"3r\\T81G+B@F^p7$$\"3'******\\1!>+:F^p$\"3+/Z7J- d]AF^p7$$\"3*******\\Z/Na\"F^p$\"3yD]MkgS#Q#F^p7$$\"35+++NfC&e\"F^p$\" 3kCSVuY+8DF^p7$$\"3LLLez6:B;F^p$\"3`mFy^(>Yj#F^p7$$\"3_mmm\"=C#o;F^p$ \"3->uH?>(Hy#F^p7$$\"3gmmmEpS1F^p$\"3e5Su!*envOF^p7$$\"3mmm\"zihl&>F^p$\"3%p\"f$QSL\"GQF ^p7$$\"3KLL$3#G,**>F^p$\"3CSg&yD_g*RF^p7$$\"3 " 0 "" {MPLTEXT 1 0 22 "leftsum(x^2,x=1..3,6);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#,$*& #\"\"\"\"\"$F&-%$SumG6$*$),&F&F&*&F'!\"\"%\"iGF&F&\"\"#F&/F0;\"\"!\"\" &F&F&" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 9 "evalf(%);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#$\"+p.Pqt!\"*" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 114 "From the graph, you may assume that this value is smalle r than the actual area under the curve. Using rightboxes:" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 23 "rightbox(x^2,x=1..3,6);" }}{PARA 13 "" 1 "" {GLPLOT2D 400 300 300 {PLOTDATA 2 "6+-%'CURVESG6&7S7$$\"\" \"\"\"!F(7$$\"3ALLL3VfV5!#<$\"3EGdQ!3*3*3\"F.7$$\"3smm\"H[D:3\"F.$\"3C H\")>qtpp6F.7$$\"3XLL$e0$=C6F.$\"3krF-Vvyj7F.7$$\"3QLL$3RBr;\"F.$\"3%y HI%4qLLezs$HL\"F.$\"3 )o,.8z@nx\"F.7$$\"31++D@1Bv8F.$\"3?hOih#f7*=F.7$$\"3pmmm@Xt=9F.$\"3PX( oHk2G,#F.7$$\"3MLL$3y_qX\"F.$\"3r\\T81G+B@F.7$$\"3'******\\1!>+:F.$\"3 +/Z7J-d]AF.7$$\"3*******\\Z/Na\"F.$\"3yD]MkgS#Q#F.7$$\"35+++NfC&e\"F.$ \"3kCSVuY+8DF.7$$\"3LLLez6:B;F.$\"3`mFy^(>Yj#F.7$$\"3_mmm\"=C#o;F.$\"3 ->uH?>(Hy#F.7$$\"3gmmmEpS1F .$\"3e5Su!*envOF.7$$\"3mmm\"zihl&>F.$\"3%p\"f$QSL\"GQF.7$$\"3KLL$3#G,* *>F.$\"3CSg&yD_g*RF.7$$\"3 " 0 "" {MPLTEXT 1 0 30 "evalf(righ tsum(x^2,x=1..3,6));" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#$\"+/Pq.5!\") " }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 168 "and we may safely assume thi s value is larger than the actual area under the curve. Therefore, it is safe to assume that the actual area is between 7.37 and 10.04. \+ " }}{PARA 0 "" 0 "" {TEXT -1 41 "Question: How do we find the exact ar ea ?" }}{PARA 0 "" 0 "" {TEXT -1 94 "Answer: By taking the limit of ei ther of the above as the number of boxes goes to infinity. " }}} {EXCHG {PARA 0 "" 0 "" {TEXT -1 66 "First lets try 50 boxes evaluating f at the right-hand endpoints. " }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 25 "rightbox(x^2, x=1..3,50);" }}{PARA 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$\"+++S]hF^\\l7$$\"++++![#F^\\lFgbm7$Fj bmF][lFc\\l-Fg[l6$7&F\\cm7$Fjbm$\"+++S]jF^\\l7$$\"++++?DF^\\lFacm7$Fdc mF][lFc\\l-Fg[l6$7&Ffcm7$Fdcm$\"+++g`lF^\\l7$F^elF[dm7$F^elF][lFc\\l-F g[l6$7&F^dm7$F^el$\"++++gnF^\\l7$$\"+++++EF^\\lFcdm7$FfdmF][lFc\\l-Fg[ l6$7&Fhdm7$Ffdm$\"+++gppF^\\l7$$\"++++SEF^\\lF]em7$F`emF][lFc\\l-Fg[l6 $7&Fbem7$F`em$\"+++S#=(F^\\l7$$\"++++!o#F^\\lFgem7$FjemF][lFc\\l-Fg[l6 $7&F\\fm7$Fjem$\"+++S)R(F^\\l7$$\"++++?FF^\\lFafm7$FdfmF][lFc\\l-Fg[l6 $7&Fffm7$Fdfm$\"+++g " 0 "" {MPLTEXT 1 0 31 "evalf(rightsum(x^2,x=1..3,50 ));" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#$\"+++?F))!\"*" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 157 "It seems as though this is getting close r to the exact area by inspection of the graph, but is still too big. \+ We create a function of the number of boxes by" }}}{EXCHG {PARA 0 "> \+ " 0 "" {MPLTEXT 1 0 40 "boxarea := n -> rightsum(x^2, x=1..3,n);" }} {PARA 11 "" 1 "" {XPPMATH 20 "6#>%(boxareaGf*6#%\"nG6\"6$%)operatorG%& arrowGF(-%)rightsumG6%*$)%\"xG\"\"#\"\"\"/F1;F3\"\"$9$F(F(F(" }}} {EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 20 "evalf(boxarea(100));" }} {PARA 11 "" 1 "" {XPPMATH 20 "6#$\"+++!ou)!\"*" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 98 "This should be closer still. To get the limit as \" n\" goes to infinity we use the \"limit\" command:" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 29 "limit(boxarea(n),n=infinity);" }}{PARA 11 " " 1 "" {XPPMATH 20 "6##\"#E\"\"$" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 81 "This is the exact area which we can check by the fundemental theor em of calculus." }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 47 "We can see tha t our error in using 100 boxes is" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 51 "evalf(boxarea(100) - Limit(boxarea(n),n=infinity));" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#$\")LL8!)!\"*" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 262 "Not bad. Notice that using right boxes to approxima te the area under an increasing function will always be greater than t he exact area. If the function is decreasing, do you expect the approx imation with right boxes to be larger or smaller than the exact area? \+ " }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 21 "# end of this section " }}}}{SECT 1 {PARA 3 "" 0 "" {TEXT -1 10 "Assignment" }}{EXCHG {PARA 256 "" 0 "" {TEXT -1 0 "" }{TEXT 256 51 "Problem # 1: Antiddifferentia tion, Integral Curves." }}{PARA 0 "" 0 "" {TEXT -1 68 "Generate a grap h of at least three integral curves of the function " }{XPPEDIT 18 0 "f(x) = (1+x)*sin(x);" "6#/-%\"fG6#%\"xG*&,&\"\"\"F*F'F*F*-%$sinG6#F'F *" }{TEXT -1 21 " over the interval (" }{XPPEDIT 18 0 "-Pi/2,Pi/2;" " 6$,$*&%#PiG\"\"\"\"\"#!\"\"F(*&F%F&F'F(" }{TEXT -1 3 "). " }}{PARA 0 " " 0 "" {TEXT -1 48 "Find the solution to the initial value problem: " }{TEXT -1 2 " " }{XPPEDIT 18 0 "dy/dx = f(x);" "6#/*&%#dyG\"\"\"%#dxG !\"\"-%\"fG6#%\"xG" }{TEXT -1 18 ", y(0) = 3.2" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 0 "" }{TEXT 257 0 "" }{TEXT 258 0 "" }{TEXT 259 0 " " }{TEXT 260 31 "Problem #2: Area Approximations" }{TEXT -1 0 "" }} {PARA 0 "" 0 "" {TEXT -1 5 "Let " }{XPPEDIT 18 0 "f(x) = exp(-x^2);" "6#/-%\"fG6#%\"xG-%$expG6#,$*$F'\"\"#!\"\"" }{TEXT -1 91 " . Approx imate the area under this curve defined by y = f(x) over the interval \+ [0,3] by " }}{PARA 0 "" 0 "" {TEXT -1 110 "a) using 20 rectangles with the height determined by f evaluated at the right hand endpoint of ea ch interval. " }}{PARA 0 "" 0 "" {TEXT -1 104 "b) using 20 rectangles \+ with height determined by f evaluated at the left hand endpoint of eac h interval." }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 163 "c) Give an upper bound and a lower bound of the actual area un der the curve based on the function being increasing or decreasing and the results from (a) and (b). " }}{PARA 0 "" 0 "" {TEXT -1 203 "d) Us ing a limiting process to find the actual area under the curve. Does t his lie within the bounds from part (c). You will need to use the com mand \"evalf\" on the limit answer to get an actual number. " }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}}}}{MARK "3" 0 }{VIEWOPTS 1 1 0 1 1 1803 1 1 1 1 }{PAGENUMBERS 0 1 2 33 1 1 }