{VERSION 6 0 "IBM INTEL NT" "6.0" } {USTYLETAB {PSTYLE "Dash Item" -1 16 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 0 0 0 1 }1 1 0 0 3 3 2 0 2 0 2 2 -1 3 }{PSTYLE "Wa rning" -1 7 1 {CSTYLE "" -1 -1 "Courier" 1 10 0 0 255 1 0 0 0 2 2 1 0 0 0 1 }1 0 0 -1 -1 -1 2 0 2 0 2 2 -1 1 }{PSTYLE "Bullet Item" -1 15 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 0 0 0 1 }1 1 0 0 3 3 2 0 2 0 2 2 -1 2 }{PSTYLE "_pstyle8" -1 200 1 {CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 0 0 2 2 2 0 0 0 1 }0 0 0 -1 -1 -1 2 0 2 0 2 2 -1 1 } {PSTYLE "_pstyle7" -1 201 1 {CSTYLE "" -1 -1 "Courier" 1 10 255 0 255 1 2 2 2 2 2 1 0 0 0 1 }1 1 0 0 0 0 2 0 2 0 2 2 -1 1 }{PSTYLE "_pstyle6 " -1 202 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 0 0 0 1 } 3 1 0 0 0 0 2 0 2 0 2 2 -1 1 }{PSTYLE "_pstyle5" -1 203 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 0 0 0 1 }3 3 0 0 0 0 2 0 2 0 2 2 -1 1 }{PSTYLE "_pstyle4" -1 204 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 0 0 0 1 }1 1 0 0 0 0 2 0 2 0 2 2 -1 1 }{PSTYLE "_pstyl e3" -1 205 1 {CSTYLE "" -1 -1 "Times" 1 18 0 0 0 1 2 1 2 2 2 2 0 0 0 1 }1 1 0 0 8 4 2 0 2 0 2 2 -1 1 }{PSTYLE "_pstyle2" -1 206 1 {CSTYLE " " -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 0 0 0 1 }1 1 0 0 8 8 2 0 2 0 2 2 -1 1 }{PSTYLE "_pstyle1" -1 207 1 {CSTYLE "" -1 -1 "Times" 1 18 0 0 0 1 2 1 1 2 2 2 0 0 0 1 }3 1 0 0 12 12 2 0 2 0 2 2 -1 1 }{PSTYLE "Li ne Printed Output" -1 6 1 {CSTYLE "" -1 -1 "Courier" 1 10 0 0 255 1 0 0 0 2 2 1 0 0 0 1 }1 0 0 -1 -1 -1 2 0 2 0 2 2 -1 1 }{PSTYLE "Heading 4 " -1 20 1 {CSTYLE "" -1 -1 "Times" 1 10 0 0 0 1 1 1 2 2 2 2 0 0 0 1 } 1 1 0 0 0 0 2 0 2 0 2 2 -1 1 }{PSTYLE "Heading 3" -1 5 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 1 1 2 2 2 2 0 0 0 1 }1 1 0 0 0 0 2 0 2 0 2 2 -1 1 }{PSTYLE "Heading 2" -1 4 1 {CSTYLE "" -1 -1 "Times" 1 14 0 0 0 1 2 1 2 2 2 2 0 0 0 1 }1 1 0 0 8 2 2 0 2 0 2 2 -1 1 }{PSTYLE "Maple \+ Output" -1 11 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 0 0 0 1 }3 3 0 0 0 0 2 0 2 0 2 2 -1 1 }{PSTYLE "Heading 1" -1 3 1 {CSTYLE "" -1 -1 "Times" 1 18 0 0 0 1 2 1 2 2 2 2 0 0 0 1 }1 1 0 0 8 4 2 0 2 0 2 2 -1 1 }{PSTYLE "Author" -1 19 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 0 0 0 1 }1 1 0 0 8 8 2 0 2 0 2 2 -1 1 }{PSTYLE "Mapl e Plot" -1 13 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 0 0 0 1 }3 1 0 0 0 0 2 0 2 0 2 2 -1 1 }{PSTYLE "Help" -1 10 1 {CSTYLE "" -1 -1 "Courier" 1 9 0 0 255 1 0 0 0 2 2 1 0 0 0 1 }1 0 0 -1 -1 -1 2 0 2 0 2 2 -1 1 }{PSTYLE "Left Justified Maple Output" -1 12 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 0 0 0 1 }1 3 0 0 0 0 2 0 2 0 2 2 -1 1 }{PSTYLE "Fixed Width" -1 17 1 {CSTYLE "" -1 -1 "Courier" 1 10 0 0 0 1 2 2 2 2 2 2 0 0 0 1 }3 1 0 0 0 0 2 0 2 0 2 2 -1 1 }{PSTYLE "Text Output" -1 2 1 {CSTYLE "" -1 -1 "Courier" 1 10 0 0 255 1 0 0 0 2 2 1 0 0 0 1 }1 0 0 -1 -1 -1 2 0 2 0 2 2 -1 1 }{PSTYLE "List Item" -1 14 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 0 0 0 1 }1 1 0 0 3 3 2 0 2 0 2 2 -1 5 }{PSTYLE "Error" -1 8 1 {CSTYLE "" -1 -1 "C ourier" 1 10 255 0 255 1 2 2 2 2 2 1 0 0 0 1 }1 1 0 0 0 0 2 0 2 0 2 2 -1 1 }{PSTYLE "Diagnostic" -1 9 1 {CSTYLE "" -1 -1 "Courier" 1 10 64 128 64 1 0 0 0 2 2 1 0 0 0 1 }1 0 0 -1 -1 -1 2 0 2 0 2 2 -1 1 } {PSTYLE "Title" -1 18 1 {CSTYLE "" -1 -1 "Times" 1 18 0 0 0 1 2 1 1 2 2 2 0 0 0 1 }3 1 0 0 12 12 2 0 2 0 2 2 -1 1 }{PSTYLE "Normal" -1 0 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 0 0 0 1 }1 1 0 0 0 0 2 0 2 0 2 2 -1 1 }{CSTYLE "LaTeX" -1 32 "" 0 1 0 0 0 0 0 0 0 2 2 2 0 0 0 1 }{CSTYLE "Maple Comment" -1 21 "Courier" 0 1 0 0 0 1 0 0 0 2 2 2 0 0 0 1 }{CSTYLE "2D Math Bold" -1 5 "Times" 0 1 0 0 0 0 0 1 2 2 2 2 0 0 0 1 }{CSTYLE "Help Underlined" -1 44 "Times" 1 12 0 0 0 0 0 0 1 2 2 2 0 0 0 1 }{CSTYLE "Output Labels" -1 29 "Times" 1 8 0 0 0 1 0 0 0 2 2 2 0 0 0 1 }{CSTYLE "Maple Input" -1 0 "Courier" 0 1 255 0 0 1 0 1 0 2 1 2 0 0 0 1 }{CSTYLE "Page Number" -1 33 "Times" 0 1 0 0 0 0 0 0 2 2 2 2 0 0 0 1 }{CSTYLE "Text" -1 200 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 0 0 0 1 }{CSTYLE "2D Math Italic Small" -1 201 "Times" 0 1 0 0 0 0 1 0 2 2 2 2 0 0 0 1 }{CSTYLE "Help Heading" -1 26 "" 1 14 0 0 0 0 0 1 0 2 2 2 0 0 0 1 }{CSTYLE "Help Italic Bold" -1 40 "Times" 1 12 0 0 0 0 1 1 0 2 2 2 0 0 0 1 }{CSTYLE "Help Normal" -1 30 "Times" 1 12 0 0 0 0 0 0 0 2 2 2 0 0 0 1 }{CSTYLE "Help Nonterminal" -1 24 "Courier" 0 1 0 0 0 1 0 1 0 2 2 2 0 0 0 1 }{CSTYLE "2D Math Small" -1 7 "Times" 0 1 0 0 0 0 0 0 2 2 2 2 0 0 0 1 }{CSTYLE "Help Underlined Italic" -1 43 "Times" 1 12 0 0 0 0 1 0 1 2 2 2 0 0 0 1 }{CSTYLE "2D Math" -1 2 "T imes" 0 1 0 0 0 0 0 0 2 2 2 2 0 0 0 1 }{CSTYLE "Copyright" -1 34 "Time s" 1 10 0 0 0 0 2 2 2 2 2 2 0 0 0 1 }{CSTYLE "Hyperlink" -1 17 "" 0 1 0 128 128 1 2 0 1 2 2 2 0 0 0 1 }{CSTYLE "Plot Title" -1 27 "" 1 10 0 0 0 0 0 1 0 2 2 2 0 0 0 1 }{CSTYLE "ParagraphStyle2" -1 202 "Times" 1 12 0 0 255 1 2 2 2 2 2 2 0 0 0 1 }{CSTYLE "2D Input" -1 19 "Times" 0 1 255 0 0 1 0 0 2 2 2 2 0 0 0 1 }{CSTYLE "ParagraphStyle1" -1 203 "Tim es" 1 12 0 0 0 1 2 2 2 2 2 2 0 0 0 1 }{CSTYLE "Help Maple Name" -1 35 "" 0 1 104 64 92 1 0 1 0 2 2 2 0 0 0 1 }{CSTYLE "Help Italic" -1 42 "T imes" 1 12 0 0 0 0 1 0 0 2 2 2 0 0 0 1 }{CSTYLE "Help Underlined Bold" -1 41 "Times" 1 12 0 0 0 0 0 1 1 2 2 2 0 0 0 1 }{CSTYLE "_cstyle268" -1 204 "" 0 1 0 0 0 0 0 1 0 2 2 2 0 0 0 1 }{CSTYLE "_cstyle267" -1 205 "" 0 1 0 0 0 0 0 1 0 2 2 2 0 0 0 1 }{CSTYLE "Default" -1 38 "" 0 1 0 0 0 0 0 0 0 2 2 2 0 0 0 1 }{CSTYLE "Help Fixed" -1 23 "Courier" 1 10 0 0 0 0 0 0 0 2 2 2 0 0 0 1 }{CSTYLE "_cstyle266" -1 206 "" 0 1 0 0 0 0 0 1 0 2 2 2 0 0 0 1 }{CSTYLE "_cstyle265" -1 207 "" 0 1 0 0 0 0 0 1 0 2 2 2 0 0 0 1 }{CSTYLE "_cstyle264" -1 208 "" 0 1 0 0 0 0 0 1 0 2 2 2 0 0 0 1 }{CSTYLE "_cstyle263" -1 209 "" 0 1 0 0 0 0 0 1 0 2 2 2 0 0 0 1 }{CSTYLE "_cstyle262" -1 210 "" 0 1 0 0 0 0 1 0 0 2 2 2 0 0 0 1 }{CSTYLE "_cstyle261" -1 211 "" 0 1 0 0 0 0 1 0 0 2 2 2 0 0 0 1 } {CSTYLE "2D Output" -1 20 "Times" 0 1 0 0 255 1 0 0 2 2 2 2 0 0 0 1 } {CSTYLE "_cstyle260" -1 212 "" 0 1 0 0 0 0 1 0 0 2 2 2 0 0 0 1 } {CSTYLE "2D Math Italic" -1 3 "Times" 0 1 0 0 0 0 1 0 2 2 2 2 0 0 0 1 }{CSTYLE "Popup" -1 31 "" 0 1 0 128 128 1 1 0 1 2 2 2 0 0 0 1 } {CSTYLE "2D Math Symbol 2" -1 213 "Times" 0 1 0 0 0 0 2 2 2 2 2 2 0 0 0 1 }{CSTYLE "Plot Text" -1 28 "" 1 8 0 0 0 0 0 0 0 2 2 2 0 0 0 1 } {CSTYLE "Help Notes" -1 37 "" 0 1 0 0 0 1 0 1 0 2 2 2 0 0 0 1 } {CSTYLE "Help Bold" -1 39 "Times" 1 12 0 0 0 0 0 1 0 2 2 2 0 0 0 1 } {CSTYLE "Help Menus" -1 36 "" 0 1 0 0 0 1 0 1 0 2 2 2 0 0 0 1 } {CSTYLE "_cstyle259" -1 214 "" 0 1 0 0 0 0 1 0 0 2 2 2 0 0 0 1 } {CSTYLE "_cstyle258" -1 215 "" 0 1 0 0 0 0 0 1 0 2 2 2 0 0 0 1 } {CSTYLE "_cstyle257" -1 216 "" 0 1 0 0 0 0 0 1 0 2 2 2 0 0 0 1 } {CSTYLE "_cstyle256" -1 217 "" 0 1 0 0 0 0 0 1 0 2 2 2 0 0 0 1 } {CSTYLE "_cstyle9" -1 218 "Times" 1 12 0 0 0 1 1 2 2 2 2 2 0 0 0 1 } {CSTYLE "2D Comment" -1 18 "Times" 0 1 0 0 0 0 0 0 2 2 2 2 0 0 0 1 } {CSTYLE "_cstyle8" -1 219 "Times" 1 12 0 0 0 1 2 1 2 2 2 2 0 0 0 1 } {CSTYLE "_cstyle7" -1 220 "Courier" 1 10 255 0 255 1 2 2 2 2 2 2 0 0 0 1 }{CSTYLE "_cstyle6" -1 221 "Times" 0 1 0 0 255 1 0 0 2 2 2 2 0 0 0 1 }{CSTYLE "Help Variable" -1 25 "Courier" 0 1 0 0 0 1 2 2 0 2 2 2 0 0 0 1 }{CSTYLE "_cstyle5" -1 222 "Courier" 1 12 255 0 0 1 2 1 2 2 1 2 0 0 0 1 }{CSTYLE "_cstyle4" -1 223 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 0 0 0 1 }{CSTYLE "_cstyle3" -1 224 "Times" 1 18 0 0 0 1 2 1 2 2 2 2 0 0 0 1 }{CSTYLE "_cstyle2" -1 225 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 0 0 0 1 }{CSTYLE "_cstyle1" -1 226 "Times" 1 18 0 0 0 1 2 1 1 2 2 2 0 0 0 1 }{CSTYLE "2D Math Bold Small" -1 10 "Times" 0 1 0 0 0 0 0 1 2 2 2 2 0 0 0 1 }{CSTYLE "Help Emphasized" -1 227 "" 0 1 0 0 0 0 1 2 0 2 2 2 0 0 0 1 }{CSTYLE "Prompt" -1 1 "Courier" 0 1 0 0 0 1 0 0 0 2 2 2 0 0 0 1 }{PSTYLE "_pstyle9" -1 208 1 {CSTYLE "" -1 -1 "Times" 1 18 0 0 0 1 2 1 1 2 2 2 1 0 0 1 }3 1 0 0 12 12 2 0 2 0 2 2 -1 1 }{CSTYLE "_cstyl e10" -1 228 "Times" 1 18 0 0 0 1 2 1 1 2 2 2 0 0 0 1 }{PSTYLE "_pstyle 10" -1 209 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 1 0 0 1 }1 1 0 0 8 8 2 0 2 0 2 2 -1 1 }{CSTYLE "_cstyle11" -1 229 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 0 0 0 1 }{PSTYLE "_pstyle11" -1 210 1 {CSTYLE " " -1 -1 "Times" 1 18 0 0 0 1 2 1 2 2 2 2 1 0 0 1 }1 1 0 0 8 4 2 0 2 0 2 2 -1 1 }{CSTYLE "_cstyle12" -1 230 "Times" 1 18 0 0 0 1 2 1 2 2 2 2 0 0 0 1 }{PSTYLE "_pstyle12" -1 211 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 1 0 0 1 }1 1 0 0 0 0 2 0 2 0 2 2 -1 1 }{CSTYLE "_cst yle13" -1 231 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 0 0 0 1 }{CSTYLE "_csty le14" -1 232 "Courier" 1 12 255 0 0 1 2 1 2 2 1 2 0 0 0 1 }{PSTYLE "_p style13" -1 212 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 0 0 0 1 }3 3 0 0 0 0 2 0 2 0 2 2 -1 1 }{CSTYLE "_cstyle15" -1 233 "Times " 0 1 0 0 255 1 0 0 2 2 2 2 0 0 0 1 }{PSTYLE "_pstyle14" -1 213 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 0 0 0 1 }3 1 0 0 0 0 2 0 2 0 2 2 -1 1 }{PSTYLE "_pstyle15" -1 214 1 {CSTYLE "" -1 -1 "Cou rier" 1 10 255 0 255 1 2 2 2 2 2 1 0 0 0 1 }1 1 0 0 0 0 2 0 2 0 2 2 -1 1 }{CSTYLE "_cstyle16" -1 234 "Courier" 1 10 255 0 255 1 2 2 2 2 2 2 0 0 0 1 }{CSTYLE "_cstyle17" -1 235 "Times" 1 12 0 0 0 1 2 1 2 2 2 2 0 0 0 1 }{CSTYLE "_cstyle18" -1 236 "Times" 1 12 0 0 0 1 1 2 2 2 2 2 0 0 0 1 }{PSTYLE "_pstyle16" -1 215 1 {CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 0 0 2 2 2 0 0 0 1 }0 0 0 -1 -1 -1 2 0 2 0 2 2 -1 1 }{PSTYLE "_psty le17" -1 216 1 {CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 0 0 2 2 2 0 0 0 1 }0 0 0 -1 -1 -1 1 0 1 0 2 2 -1 1 }} {SECT 0 {EXCHG {PARA 208 "" 0 "" {TEXT 228 56 "Secant Lines, Tangent L ines, Derivatives(\"D\" and \"diff\")" }}{PARA 209 "" 0 "" {TEXT 229 262 "In this lab we investigate the relationship between secant lines \+ and average rates of change, tangent lines and instantaneous rates of \+ change, how Maple can aid in the limiting process that connects these \+ two concepts, and finally the derivative of a function. " }}}{SECT 1 {PARA 210 "" 0 "" {TEXT 230 47 "Plotting Secant Lines / Average rates \+ of change" }}{EXCHG {PARA 211 "" 0 "" {TEXT 231 685 "As we discussed i n class, the tangent line to a graph of f(x) at x = a , has slope desc ribing the instantaneous rate of change of y with respect to x, at x = a. We further illustrated that this tangent line can be considered th e limiting case of a converging sequence of secant lines. Furthermore , the slope of a secant line gives the average rate of change of y wi th respect to x over an interval. Therefore, the slope of the tange nt line (the derivative) at x = a, is the limiting value of a convergi ng sequence of average rates of change, leading to an instantaneous ra te of change. In this section we illustrate this concept graphically . First we define the function f(x) = " }{XPPEDIT 18 0 "(x-2)^2;" "6#* $,&%\"xG\"\"\"\"\"#!\"\"F'" }{TEXT 231 1 " " }{TEXT 231 1 " " }{TEXT 231 8 " + 1 by:" }}}{EXCHG {PARA 211 "> " 0 "" {MPLTEXT 1 232 22 "f := x -> (x-2)^2 + 1;" }}{PARA 212 "" 1 "" {XPPMATH 20 "6#>I\"fG6\"f*6#I \"xGF%F%6$I)operatorGF%I&arrowGF%F%,&*$,&9$\"\"\"!\"#F0\"\"#F0F0F0F%F% F%" }{TEXT 233 1 " " }}}{EXCHG {PARA 211 "" 0 "" {TEXT 231 318 "The go al is to plot a sequence of secant lines that approaches the tangent l ine of f(x) at x = 2. Using the point slope definition of a line, the secant line through (2, f(2)) and (2+h, f(2+h)) is described by y - y(2) = m (x - 2), where m (slope) is determined from the two points. \+ Writing this as a line we get: " }}}{EXCHG {PARA 211 "" 0 "" {TEXT 231 66 " \+ y = " }{XPPEDIT 18 0 "(f(2+h)-f(2))/h;" "6#*&,&-%\"fG6#,&\"\"#\"\"\"% \"hGF*F*-F&6#F)!\"\"F*F+F." }{TEXT 231 1 " " }{TEXT 231 1 " " }{TEXT 231 16 " (x - 2) + f(2)." }}{PARA 211 "" 0 "" {TEXT 231 182 "We now de fine a function of two variables, x and h, that describes the secant \+ line. I make it a function of two variables just so that I don't have to re-enter different values of " }{TEXT 231 4 " h. " }}}{EXCHG {PARA 211 "> " 0 "" {MPLTEXT 1 232 55 "secf2h := (x,h) -> (f(2 + h) - \+ f(2))/h *(x - 2) + f(2);" }}{PARA 212 "" 1 "" {XPPMATH 20 "6#>I'secf2h G6\"f*6$I\"xGF%I\"hGF%F%6$I)operatorGF%I&arrowGF%F%,&*(,&-I\"fGF%6#,& \"\"#\"\"\"9%F5F5-F16#F4!\"\"F5F6F9,&9$F5!\"#F5F5F5F7F5F%F%F%" }{TEXT 233 1 " " }}}{EXCHG {PARA 211 "" 0 "" {TEXT 231 117 "This cryptic nota tion is for \"sec\"ant line of \"f\" at x = \"2\" for step size \"h\". You may call it anything you want. " }}}{EXCHG {PARA 211 "> " 0 "" {MPLTEXT 1 232 79 "plot([secf2h(x,2), secf2h(x,1), secf2h(x,.5), secf2 h(x,.1), f(x)], x = 0 .. 4);" }}{PARA 213 "" 1 "" {GLPLOT2D 400 300 300 {PLOTDATA 2 "6&-%'CURVESG6(7S7$$\"\"!F)$!\"$F)7$$\"3Hmmmm;')=()!#> $!3ommmmFiDG!#<7$$\"3RLLLe'40j\"!#=$!35LLLo!)*Qn#F27$$\"3mmmm;6m$[#F6$ !3nmmmwxE.DF27$$\"3fmmm;yYULF6$!3YmmmOk]JBF27$$\"3%HLL$eF>(>%F6$!3_LLL [9cg@F27$$\"3Qmmm\">K'*)\\F6$!3smmmhN2-?F27$$\"3P*****\\Kd,\"eF6$!37++ +N&oz$=F27$$\"3-mmm\"fX(emF6$!3!omm;)3Do;F27$$\"3.*****\\U7Y](F6$!3?++ +:v2*\\\"F27$$\"3'QLLLV!pu$)F6$!3BLLL8>1D8F27$$\"3xmmm;c0T\"*F6$!3kmmm w))yr6F27$$\"3#*******H,Q+5F2$!3a,+++uR#***F67$$\"3)*******\\*3q3\"F2$ !3_++++5#)f#)F67$$\"3)*******p=\\q6F2$!3?++++E;!f'F67$$\"3mmm;fBIY7F2$ !3)pmmm\"G&R2&F67$$\"3GLLLj$[kL\"F2$!3WMLLLF.rKF67$$\"3?LLL`Q\"GT\"F2$ !3%fLLL$HsVF2$\"3Gmmm;^Yi#)F67$$\"3immmTc-)*>F2$\"3gKLLLG^g**F67$$\"3Mmm;f`@'3 #F2$\"3oKLL=2Vs6F27$$\"3y****\\nZ)H;#F2$\"3f*****\\`pfK\"F27$$\"3YmmmJ y*eC#F2$\"3!HLLLm&z\"\\\"F27$$\"3')******R^bJBF2$\"3s******z-6j;F27$$ \"3f*****\\5a`T#F2$\"3<******4#32$=F27$$\"3o****\\7RV'\\#F2$\"3O***** \\#y'G*>F27$$\"3k*****\\@fke#F2$\"3G******H%=H<#F27$$\"3/LLL`4NnEF2$\" 35mmm1>qMBF27$$\"3#*******\\,s`FF2$\"3%)*******HSu]#F27$$\"3[mm;zM)>$G F2$\"3'HLL$ep'Rm#F27$$\"3$*******pfa4NGF27$$\"3#HLLe g`!)*HF2$\"3#emm;@2h*HF27$$\"3w****\\#G2A3$F2$\"3]*****\\c9W;$F27$$\"3 ;LLL$)G[kJF2$\"3Lmmmmd'*GLF27$$\"3#)****\\7yh]KF2$\"3j*****\\iN7]$F27$ $\"3xmmm')fdLLF2$\"3aLLLt>:nOF27$$\"3bmmm,FT=MF2$\"35LLL.a#o$QF27$$\"3 FLL$e#pa-NF2$\"3ammm^Q40SF27$$\"3!*******Rv&)zNF2$\"3y******z]rfTF27$$ \"3ILLLGUYoOF2$\"3gmmmc%GpL%F27$$\"3_mmm1^rZPF2$\"3/LLL8-V&\\%F27$$\"3 4++]sI@KQF2$\"3=+++XhUkYF27$$\"34++]2%)38RF2$\"3=+++:o$=F2 7$Fev$\"3$*******pfa<>F27$Fjv$\"3#HLLeg`!)*>F27$F_w$\"3w****\\#G2A3#F2 7$Fdw$\"3;LLL$)G[k@F27$Fiw$\"3#)****\\7yh]AF27$F^x$\"3xmmm')fdLBF27$Fc x$\"3bmmm,FT=CF27$Fhx$\"3FLL$e#pa-DF27$F]y$\"3!*******Rv&)zDF27$Fby$\" 3ILLLGUYoEF27$Fgy$\"3_m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Fev$\"3)******pfa<4\"F27$Fjv$\"3KLLeg`!)*4\"F2 7$F_w$\"31++DG2A36F27$Fdw$\"3KLLL)G[k6\"F27$Fiw$\"37++D\"yh]7\"F27$F^x $\"3jmmm)fdL8\"F27$Fcx$\"3qmm;q7%=9\"F27$Fhx$\"3YLLe#pa-:\"F27$F]y$\"3 /+++ad)z:\"F27$Fby$\"3GLL$GUYo;\"F27$Fgy$\"3ummm5:xu6F27$F\\z$\"3=++D2 8A$=\"F27$Faz$\"33++vS)38>\"F27$Ffz$\"3;+++++++7F27S7$F(Fhz7$F-$\"3yz& 4#)QZ)eYF27$F4$\"3S\\e7aF27$Ffo$\"3U-,QdEbL=F27$F[p$\"3)o4Oxt$3)o\" F27$F`p$\"3YKxzL,1o:F27$Fep$\"337I_u2IS9F27$Fjp$\"3J[s$3d(yW8F27$F_q$ \"3EINwLwN[7F27$Feq$\"3)3!*RKWoh<\"F27$Fjq$\"35v^w@:>66F27$F_r$\"3M$*> 9#z`J1\"F27$Fdr$\"3!oP4j*)>u-\"F27$Fir$\"3N+qnova25F27$F^s$\"3NG34)*Q+ +5F27$Fcs$\"3APi:)3Lu+\"F27$Fhs$\"3/HqVMScE5F27$F]t$\"3?o$=Oul/1\"F27$ Fbt$\"3]>/'3\")G*46F27$Fgt$\"3s].aK!>D<\"F27$F\\u$\"3Od+[HmWY7F27$Fau$ \"3p:%e3TMRM\"F27$Ffu$\"3]3\\\"\\Hd`W\"F27$F[v$\"3SAg^kS4o:F27$F`v$\"3 )4F1'4l>#p\"F27$Fev$\"3\"3Cjqg!*=%=F27$Fjv$\"3+=p6+56'*>F27$F_w$\"3EMg H-E " 0 "" {MPLTEXT 1 232 16 "# end \+ of section" }}}}{SECT 1 {PARA 210 "" 0 "" {TEXT 230 77 "Plotting Tange nt Lines/ Instantaneous Rates of change / The \"limit\" command" }} {EXCHG {PARA 211 "" 0 "" {TEXT 231 150 " Now we try to plot the tangen t line to this curve at x = 2. Recall that the slope of the tangent l ine , at x = 2, is defined by the following limit:" }}}{EXCHG {PARA 211 "" 0 "" {TEXT 231 34 " " } {XPPEDIT 18 0 "m[tan];" "6#&%\"mG6#%$tanG" }{TEXT 231 1 " " }{TEXT 231 1 " " }{TEXT 231 4 " = " }{XPPEDIT 18 0 "limit((f(2+h)-f(2))/h,h \+ = 0);" "6#-%&limitG6$*&,&-%\"fG6#,&\"\"#\"\"\"%\"hGF-F--F)6#F,!\"\"F-F .F1/F.\"\"!" }{TEXT 231 1 " " }{TEXT 231 1 " " }}}{EXCHG {PARA 211 "" 0 "" {TEXT 231 107 "The following command in Maple will find this limi t. Here we want the limit as h goes to zero so we type: " }}}{EXCHG {PARA 211 "> " 0 "" {MPLTEXT 1 232 40 "mtanf2 := limit((f(2+h)-f(2))/h , h = 0);" }}{PARA 212 "" 1 "" {XPPMATH 20 "6#>I'mtanf2G6\"\"\"!" } {TEXT 233 1 " " }}}{EXCHG {PARA 211 "" 0 "" {TEXT 231 306 "This notati on is for the slope of the tangent line of the function f(x), at x = \+ 2. Again, you can call it anything you want. Using a similar procedu re as above, we plot the tangent line (from the point slope formula fo r a line) by: f(x) = mtanf2 (x - 2) + f(2). And use this to plot the tangent line. " }}}{EXCHG {PARA 211 "> " 0 "" {MPLTEXT 1 232 36 "tanf 2 := x -> mtanf2*(x - 2) + f(2);" }}{PARA 212 "" 1 "" {XPPMATH 20 "6#> I&tanf2G6\"f*6#I\"xGF%F%6$I)operatorGF%I&arrowGF%F%,&*&I'mtanf2GF%\"\" \",&9$F/!\"#F/F/F/-I\"fGF%6#\"\"#F/F%F%F%" }{TEXT 233 1 " " }}}{EXCHG {PARA 211 "> " 0 "" {MPLTEXT 1 232 35 "plot([f(x), tanf2(x)], x = 0 .. 4);" }}{PARA 213 "" 1 "" {GLPLOT2D 400 300 300 {PLOTDATA 2 "6&-%'CURV ESG6%7S7$$\"\"!F)$\"\"&F)7$$\"3Hmmmm;')=()!#>$\"3yz&4#)QZ)eY!#<7$$\"3R LLLe'40j\"!#=$\"3S\\e7a(>%F6$\"3eCFK'*)\\F6$\"3S'\\9uT6JD$F27$$\"3P*****\\Kd,\"eF6$\"3i6DT^j^8IF27$$ \"3-mmm\"fX(emF6$\"3]O(y=p!*)zFF27$$\"3.*****\\U7Y](F6$\"3#Qk%\\1rMhDF 27$$\"3'QLLLV!pu$)F6$\"3G:$3_Ay9N#F27$$\"3xmmm;c0T\"*F6$\"3UlK?Jn;z@F2 7$$\"3#*******H,Q+5F2$\"31<))\\%))R#**>F27$$\"3)*******\\*3q3\"F2$\"3U -,QdEbL=F27$$\"3)*******p=\\q6F2$\"3)o4Oxt$3)o\"F27$$\"3mmm;fBIY7F2$\" 3YKxzL,1o:F27$$\"3GLLLj$[kL\"F2$\"337I_u2IS9F27$$\"3?LLL`Q\"GT\"F2$\"3 J[s$3d(yW8F27$$\"3!*****\\s]k,:F2$\"3EINwLwN[7F27$$\"39LLL`dF!e\"F2$\" 3)3!*RKWoh<\"F27$$\"33++]sgam;F2$\"35v^w@:>66F27$$\"3/++]9#z`J1\"F27$$\"3QLLLe/TM=F2$\"3!oP4j*)>u-\"F27$$\"3JLL$eDBJ\">F2$\"3 N+qnova25F27$$\"3immmTc-)*>F2$\"3NG34)*Q++5F27$$\"3Mmm;f`@'3#F2$\"3APi :)3Lu+\"F27$$\"3y****\\nZ)H;#F2$\"3/HqVMScE5F27$$\"3YmmmJy*eC#F2$\"3?o $=Oul/1\"F27$$\"3')******R^bJBF2$\"3]>/'3\")G*46F27$$\"3f*****\\5a`T#F 2$\"3s].aK!>D<\"F27$$\"3o****\\7RV'\\#F2$\"3Od+[HmWY7F27$$\"3k*****\\@ fke#F2$\"3p:%e3TMRM\"F27$$\"3/LLL`4NnEF2$\"3]3\\\"\\Hd`W\"F27$$\"3#*** ****\\,s`FF2$\"3SAg^kS4o:F27$$\"3[mm;zM)>$GF2$\"3)4F1'4l>#p\"F27$$\"3$ *******pfaF27$$ \"3w****\\#G2A3$F2$\"3EMgH-E " 0 "" {MPLTEXT 1 232 35 "q := x -> 1 3*x^4 - 5*x^2 + 2*x - 1;" }}{PARA 212 "" 1 "" {XPPMATH 20 "6#>I\"qG6\" f*6#I\"xGF%F%6$I)operatorGF%I&arrowGF%F%,**$9$\"\"%\"#8*$F.\"\"#!\"&F. F2!\"\"\"\"\"F%F%F%" }{TEXT 233 1 " " }}}{EXCHG {PARA 211 "> " 0 "" {MPLTEXT 1 232 32 "limit((q(x+h) - q(x))/h, h = 0);" }}{PARA 212 "" 1 "" {XPPMATH 20 "6#,(*$I\"xG6\"\"\"$\"#_\"\"#\"\"\"F%!#5" }{TEXT 233 1 " " }}}{EXCHG {PARA 211 "" 0 "" {TEXT 231 345 "Recognize this? This i s why we love Maple. It performs symbolic manipulations. Ie. It does n't just evaluate a sequence of numbers, it can do all of the algebra \+ that would be required to determine this limit. If Maple can perform \+ the above limit calculation then it should be able to symbolically det ermine derivatives. Right? ... Yes Sir!!!" }}}{EXCHG {PARA 211 "> " 0 "" {MPLTEXT 1 232 16 "# end of section" }}}}{SECT 1 {PARA 210 "" 0 "" {TEXT 230 42 "Derivatives: The \"D\" and \"diff\" commands. " }} {EXCHG {PARA 211 "" 0 "" {TEXT 231 86 "Maple has two commands to evalu ate derivatives of functions. D(f) and diff(f(x), x). " }}{PARA 211 " " 0 "" {TEXT 231 42 "D(f) returns the derivative as function." }}} {EXCHG {PARA 211 "> " 0 "" {MPLTEXT 1 232 20 "g := x -> x^3 - 4*x;" }} {PARA 212 "" 1 "" {XPPMATH 20 "6#>I\"gG6\"f*6#I\"xGF%F%6$I)operatorGF% I&arrowGF%F%,&*$9$\"\"$\"\"\"F.!\"%F%F%F%" }{TEXT 233 1 " " }}}{EXCHG {PARA 211 "> " 0 "" {MPLTEXT 1 232 5 "D(g);" }}{PARA 212 "" 1 "" {XPPMATH 20 "6#f*6#I\"xG6\"F&6$I)operatorGF&I&arrowGF&F&,&*$9$\"\"#\" \"$!\"%\"\"\"F&F&F&" }{TEXT 233 1 " " }}}{EXCHG {PARA 211 "" 0 "" {TEXT 231 57 "Notice this describes a function and we give it a name b y" }}}{EXCHG {PARA 211 "> " 0 "" {MPLTEXT 1 232 15 "derivg := D(g);" } }{PARA 212 "" 1 "" {XPPMATH 20 "6#>I'derivgG6\"f*6#I\"xGF%F%6$I)operat orGF%I&arrowGF%F%,&*$9$\"\"#\"\"$!\"%\"\"\"F%F%F%" }{TEXT 233 1 " " }} }{EXCHG {PARA 211 "" 0 "" {TEXT 231 3 "or " }}}{EXCHG {PARA 211 "> " 0 "" {MPLTEXT 1 232 23 "derivg := x -> D(g)(x);" }}{PARA 212 "" 1 "" {XPPMATH 20 "6#>I'derivgG6\"f*6#I\"xGF%F%6$I)operatorGF%I&arrowGF%F%-- I\"DG6$I*protectedGF0I(_syslibGF%6#I\"gGF%6#9$F%F%F%" }{TEXT 233 1 " " }}}{EXCHG {PARA 211 "" 0 "" {TEXT 231 76 "In either case, you can now evaluate the derivative at a number such as 3 by" }}}{EXCHG {PARA 211 "> " 0 "" {MPLTEXT 1 232 10 "derivg(3);" }}{PARA 212 "" 1 "" {XPPMATH 20 "6#\"#B" }{TEXT 233 1 " " }}}{EXCHG {PARA 211 "" 0 "" {TEXT 231 37 "You can also plot the derivative with" }}}{EXCHG {PARA 211 "> " 0 "" {MPLTEXT 1 232 58 "plot([g(x), derivg(x)], x = -4 .. 4, \+ color = [red, blue]);" }}{PARA 213 "" 1 "" {GLPLOT2D 400 300 300 {PLOTDATA 2 "6&-%'CURVESG6%7S7$$!\"%\"\"!$!#[F*7$$!3ommmmFiDQ!#<$!3w42 dS))poS!#;7$$!35LLLo!)*Qn$F0$!39Zv)fh%H*[$F37$$!3nmmmwxE.NF0$!3mW`N%=8 #)*GF37$$!3YmmmOk]JLF0$!3OvJU5[,lBF37$$!3_LLL[9cgJF0$!3EO,1Rs!H*=F37$$ !3smmmhN2-IF0$!3*331DBF0$!3K(R\">RX$)oKF07$$!3kmmmw))yr@F0$!3y8Reb#\\kb\"F07$$!3;+++S(R #**>F0$\"3sV+#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$\"3!3H@i'ebsGF37$$\"3=+++XhUkOF0$\"3m_Pr@z#[X$F37$$\"3=+++:oi,#F37$FS$\"3W$[a-$)oet\"F3 7$FX$\"3%Hd$zFlht9F37$Fgn$\"3*z(*\\-(Qx@7F37$F\\o$\"3_=RWx++:5F37$Fao$ \"3y/e)Rhy3*zF07$Fgo$\"3(3Bh&))=j-gF07$F\\p$\"3aiJ$G&[+dUF07$Fap$\"3s( ysbg@n\"GF07$Ffp$\"3+XhF%H4OG\"F07$F[q$\"3m(zp/]3XP\"Fbq7$F`q$!3)fjP[R 3(>5F07$Ffq$!3/)=@6oyf)=F07$F[r$!3%y*y\")QlbneJ7o$F07$F_t$!33\"ezl26WF$F07$Fdt$!3)f'\\n pU&3o#F07$Fit$!3=#z:&4;xH>F07$F^u$!3u6$RiWSE/\"F07$Fcu$\"3C,*4IIH@F\"F bq7$Fhu$\"3'>!*y*QvGW8F07$F]v$\"3\")oA>u(Gr\"GF07$Fbv$\"3#>Dv_6ejI%F07 $Fgv$\"3x*))eZG(o-hF07$F\\w$\"3A9IS,?L`zF07$Faw$\"36T_vArS05F37$Ffw$\" 33w:piWAF7F37$F[x$\"3oT2`&*Q&oZ\"F37$F`x$\"3Nonl%*)4Tt\"F37$Fex$\"3^)> *p5NF9?F37$Fjx$\"3NSu> " 0 "" {MPLTEXT 1 232 25 "h := x -> x^2 + 5 *cos(x);" }}{PARA 212 "" 1 "" {XPPMATH 20 "6#>I\"hG6\"f*6#I\"xGF%F%6$I )operatorGF%I&arrowGF%F%,&*$9$\"\"#\"\"\"-I$cosG6$I*protectedGF4I(_sys libGF%6#F.\"\"&F%F%F%" }{TEXT 233 1 " " }}}{EXCHG {PARA 211 "> " 0 "" {MPLTEXT 1 232 14 "diff(h(x), x);" }}{PARA 212 "" 1 "" {XPPMATH 20 "6# ,&I\"xG6\"\"\"#-I$sinG6$I*protectedGF*I(_syslibGF%6#F$!\"&" }{TEXT 233 1 " " }}}{EXCHG {PARA 211 "" 0 "" {TEXT 231 104 "Notice this retur ns an expression for the derivative. In order to enter this as a funct ion we must type:" }}}{EXCHG {PARA 211 "> " 0 "" {MPLTEXT 1 232 29 "de rivh := x -> diff(h(x), x);" }}{PARA 212 "" 1 "" {XPPMATH 20 "6#>I'der ivhG6\"f*6#I\"xGF%F%6$I)operatorGF%I&arrowGF%F%-I%diffGI*protectedGF.6 $-I\"hGF%6#9$F3F%F%F%" }{TEXT 233 1 " " }}}{EXCHG {PARA 211 "" 0 "" {TEXT 231 91 "The big difference between diff and D is that you cannot evaluate the \"diff\" at a number. " }}}{EXCHG {PARA 211 "> " 0 "" {MPLTEXT 1 232 10 "derivh(3);" }}{PARA 214 "" 1 "" {TEXT 234 72 "Error , (in derivh) wrong number (or type) of parameters in function diff" } {TEXT 234 1 "\n" }}}{EXCHG {PARA 211 "" 0 "" {TEXT 231 27 "but you can still plot it. " }}}{EXCHG {PARA 211 "> " 0 "" {MPLTEXT 1 232 64 "plo t([h(x), derivh(x)], x = -2*Pi .. 2*Pi, color = [red, blue]);" }} {PARA 213 "" 1 "" {GLPLOT2D 400 300 300 {PLOTDATA 2 "6&-%'CURVESG6%7Y7 $$!3)****>YH&=$G'!#<$\"3],HlW<%yW%!#;7$$!3dp3dxTF4gF*$\"3KQXMnx\\#4%F- 7$$!3W07Azb%4x&F*$\"3-BY\\bd?mPF-7$$!3[DqOW,#H]&F*$\"3]\\XEEld$Q$F-7$$ !3()o*[H1=JB&F*$\"3]sf&[#)3t)HF-7$$!3gAxs.$)fk\\F*$\"3)\\83!Hc\\*e#F-7 $$!3/sy+9hk:ZF*$\"3P\"z(=\"Rg`A#F-7$$!3ellUT0(yX%F*$\"3#\\5#=\"Gr8'=F- 7$$!3!>@6bny7>%F*$\"3fZ*ff+gx]\"F-7$$!3/t34t_OF*$\"3AJ.e`HJw*)F*7$$!35AGA$)zV6MF*$\"3'*H8%>T[)=oF*7$$!3p xppL%)RSJF*$\"3I)))ox)e5i[F*7$$!3OO)R(pfCoGF*$\"3M$=!*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$$\"3!=$*\\hHUK<\"F*$!3 ?n#*RB\"pNE#F*7$Ffu$!3-5_WK]]9AF*7$$\"3?\"oTeELAV\"F*$!3q6nI74h(3#F*7$ F[v$!3iG2Vl**\\!)=F*7$$\"39m#)eVX+,cm&HlJ\"F^s7$Fdw$\"3!=,MTV!zT7F*7$F^x$\"3%3)zrQh;4FF* 7$Fcx$\"3C;)eGWiV[%F*7$Fhx$\"3$*\\2`5?QSiF*7$F]y$\"3y;xe^2rw!)F*7$Fby$ \"3=4!\\'4g*oy*F*7$Fgy$\"3N!\\pMGD+9\"F-7$F\\z$\"3iEaJcO6r7F-7$Faz$\"3 =%)e[z/)[P\"F-7$$\"3Az;UWEB)e%F*$\"32CLtxxz89F-7$Ffz$\"3_\\fRp?1W9F-7$ $\"3`b([HgH=%[F*$\"3#)3n3ZI=k9F-7$F[[l$\"3y>PK]4+x9F-7$$\"3#)4lu\"*=X- ^F*$\"3EMtF[H$H[\"F-7$F`[l$\"39fGC'*4#*z9F-7$$\"3a$=k.%>7m`F*$\"3CYEI[ R8q9F-7$Fe[l$\"3I0k7GR?a9F-7$Fj[l$\"3$p^4:g\"!#:$\"1k$z)okXmX!#9" 1 2 2 0 10 1 2 6 1 4 2 1.0 45.0 45.0 1 0 "Curve 1" }}}}{EXCHG {PARA 211 "" 0 "" {TEXT 231 108 "Again we have the original function in red \+ and the derivative in blue. Is the slope of h(x) ever negative? " }}} {EXCHG {PARA 211 "" 0 "" {TEXT 231 143 "For now, the Major difference \+ between D(f) and diff(f(x), x) is that the D(f) results in a function and diff(f(x),x) results in an expression." }}}{EXCHG {PARA 211 "" 0 "" {TEXT 235 6 "Aside:" }{TEXT 231 112 " The benefit of the \"diff\" \+ command is that we may describe functions with more than one variable \+ such as y = a " }{XPPEDIT 18 0 "t^2;" "6#*$%\"tG\"\"#" }{TEXT 231 1 " \+ " }{TEXT 231 1 " " }{TEXT 231 5 " + b " }{TEXT 236 1 "t" }{TEXT 231 65 " + c and take the derivative with respect to a specific variable:" }}}{EXCHG {PARA 211 "> " 0 "" {MPLTEXT 1 232 37 "quad := (a,b,c,t) -> a*t^2 + b*t + c;" }}{PARA 212 "" 1 "" {XPPMATH 20 "6#>I%quadG6\"f*6&I \"aGF%I\"bGF%I\"cGF%I\"tGF%F%6$I)operatorGF%I&arrowGF%F%,(*&9$\"\"\"9' \"\"#F2*&9%F2F3F2F29&F2F%F%F%" }{TEXT 233 1 " " }}}{EXCHG {PARA 211 "" 0 "" {TEXT 231 35 "Notice this is just a quadratic in " }{TEXT 236 1 "t" }{TEXT 231 98 ", but also contains the variables a, b, c. We woul d expect to differentiate this with respect to " }{TEXT 236 1 "t" } {TEXT 231 3 " by" }}}{EXCHG {PARA 211 "> " 0 "" {MPLTEXT 1 232 23 "dif f(quad(a,b,c,t), t);" }}{PARA 212 "" 1 "" {XPPMATH 20 "6#,&*&I\"aG6\" \"\"\"I\"tGF&F'\"\"#I\"bGF&F'" }{TEXT 233 1 " " }}}{EXCHG {PARA 211 "" 0 "" {TEXT 231 100 "This gives expected derivative. Suppose we wante d to differentiate this function with respect to a:" }}}{EXCHG {PARA 211 "> " 0 "" {MPLTEXT 1 232 23 "diff(quad(a,b,c,t), a);" }}{PARA 212 "" 1 "" {XPPMATH 20 "6#*$I\"tG6\"\"\"#" }{TEXT 233 1 " " }}}{EXCHG {PARA 211 "" 0 "" {TEXT 231 133 "This may seem strange but if \"a\" is considered the independent variable then the derivative with respect \+ to \"a\" gives the \"constant\" " }{XPPEDIT 18 0 "t^2;" "6#*$%\"tG\"\" #" }{TEXT 231 1 " " }{TEXT 231 1 " " }{TEXT 231 92 ". We will deal wi th differentiating with respect to more than one variable in the futur e. " }}}{EXCHG {PARA 211 "" 0 "" {TEXT 235 9 "Summary: " }{TEXT 231 202 "The \"D\" command is better when using the derivative as a functi on because you can evaluate the derivative at a number. The \"diff\" \+ command works well if you have more than one variable in the function. " }}}{EXCHG {PARA 211 "> " 0 "" {MPLTEXT 1 232 16 "# end of section" }}}}{SECT 1 {PARA 210 "" 0 "" {TEXT 230 10 "Assignment" }}{PARA 211 "" 0 "" {TEXT 231 204 "Remember: Your Name, Section, and lab number in u pper left. You may put all of this in one line if you want to save ve rtical space. These two graphs and corresponding written portions mus t be put on to " }{TEXT 235 3 "one" }{TEXT 231 15 " printed page. " }} {EXCHG {PARA 211 "" 0 "" {TEXT 235 11 "Problem # 1" }{TEXT 231 2 ": " }}{PARA 211 "" 0 "" {TEXT 231 29 "Consider the function f(x) = " } {XPPEDIT 18 0 "x/10;" "6#*&%\"xG\"\"\"\"#5!\"\"" }{TEXT 231 1 " " } {TEXT 231 1 " " }{TEXT 231 3 " ( " }{XPPEDIT 18 0 "x^2/3;" "6#*&%\"xG \"\"#\"\"$!\"\"" }{TEXT 231 1 " " }{TEXT 231 1 " " }{TEXT 231 10 " - 4 .1 x)" }}{PARA 211 "" 0 "" {TEXT 231 4 "a) " }{TEXT 235 6 "Graph:" } {TEXT 231 401 " Plot the function and the tangent to the curve at x=6. Plot the secant lines through (6,f(6)) and (6+h,f(6+h)) for h=3 and h = 2. Put all this (function, tangent, 2 secants) on one graph plotte d over the domain [-2,12]. The secant lines should appear to be conver ging to the tangent line. Label the curve and label the lines as secan t or tangent. This labelling is probably best done by hand. " }} {PARA 211 "" 0 "" {TEXT 231 4 "b) " }{TEXT 235 10 "Questions:" } {TEXT 231 107 " For what value(s) of x is the tangent to the curve y = f(x) a horizontal line. Give these values exactly. " }}}{EXCHG {PARA 211 "" 0 "" {TEXT 235 11 "Problem # 2" }}{PARA 211 "" 0 "" {TEXT 231 3 "a) " }{TEXT 235 6 "Graph:" }{TEXT 231 33 " Plot the functions cos(x ) and " }{XPPEDIT 18 0 "(sin(x+h)-sin(x))/h;" "6#*&,&-%$sinG6#,&%\"x G\"\"\"%\"hGF*F*-F&6#F)!\"\"F*F+F." }{TEXT 231 1 " " }{TEXT 231 1 " " }{TEXT 231 139 " for values of h = 1, 0.5, and 0.2. Put these on one graph plotted over one period. Label the curves by hand indicating th e value of h. " }}{PARA 211 "" 0 "" {TEXT 231 3 "b) " }{TEXT 235 10 " Question: " }{TEXT 231 60 "What do these graphs suggest about the deri vative of sin(x)?" }}}}{PARA 215 "" 0 "" }{PARA 216 "" 0 "" }} {VIEWOPTS 1 1 0 1 1 1803 1 1 1 1 }{PAGENUMBERS 0 1 2 33 1 1 }