{VERSION 4 0 "SUN SPARC SOLARIS" "4.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 "" -1 23 "Courier" 1 10 0 0 0 0 0 0 0 0 0 0 3 0 0 1 }{PSTYLE "Normal" -1 0 1 {CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }} {SECT 0 {PARA 0 "" 0 "" {TEXT 23 0 "" }}{PARA 0 "" 0 "" {TEXT 23 25 "F or each of the following" }}{PARA 0 "" 0 "" {TEXT -1 15 " (x-y)(x+ y)" }}{PARA 0 "" 0 "" {TEXT -1 10 " xe^-y" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 26 "f:=(x-y)(x+y);g:=x*e^(-y);" }}}{PARA 0 "" 0 "" {TEXT 23 71 "1. Do a plot3d of the given function above use the follow ing options to" }}{PARA 0 "" 0 "" {TEXT 23 65 "the plot3d command fix \+ the MISSING-STUFF and update YOUR-NAME and" }}{PARA 0 "" 0 "" {TEXT 23 11 "WHAT-GRAPH." }}{PARA 0 "" 0 "" {TEXT 23 0 "" }}{PARA 0 "" 0 "" {TEXT 23 67 "plot3d(MISSING-STUFF,axes=boxed,shading=zhue,orientation= [-145,50]," }}{PARA 0 "" 0 "" {TEXT 23 34 "title=\"YOUR-NAME and WHAT- GRAPH\");" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 5 "L:=3;" }}} {EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 37 "plot3d(f,x=-L..L,y=-L..L,axe s=boxed);" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 37 "plot3d(g,x=-L. .L,y=-L..L,axes=boxed);" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 0 " " }}}{PARA 0 "" 0 "" {TEXT 23 66 "2. Do a plot3d of the given function over the same range but using" }}{PARA 0 "" 0 "" {TEXT 23 65 "the sty le patch and contour instead of the default patch, if you " }}{PARA 0 "" 0 "" {TEXT 23 67 "use the default graph the contours don't look so \+ good. Increase the" }}{PARA 0 "" 0 "" {TEXT 23 68 "number of samples v ia grid or numpoints so the contours look smooth." }}{PARA 0 "" 0 "" {TEXT 23 19 "Remember the title." }}{PARA 0 "> " 0 "" {MPLTEXT 1 0 0 " " }}{PARA 0 "" 0 "" {TEXT 23 62 "3. Do a contourplot of the given func tion over the same range." }}{PARA 0 "" 0 "" {TEXT 23 70 "(contourplot NOT contourplot3d). You need to both increase the number" }}{PARA 0 "" 0 "" {TEXT 23 65 "of samples to make the contours smooth and increa se the number of" }}{PARA 0 "" 0 "" {TEXT 23 35 "contours to 20 (hint: contours=20)." }}{PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}{PARA 0 "" 0 " " {TEXT 23 65 "4. Do a gradplot of the given function over the same ra nge, using" }}{PARA 0 "" 0 "" {TEXT 23 50 "the option arrows=thick (gr adplot not gradplot3d)." }}{PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }} {PARA 0 "" 0 "" {TEXT 23 70 "5. Display the graphs in #3 and #4 togeth er using the display funtion." }}{PARA 0 "" 0 "" {TEXT 23 67 "The arro ws should cross the contours more or less perpendicular and" }}{PARA 0 "" 0 "" {TEXT 23 65 "always point \"uphill\". The \"size\" of the ar row is proportional to" }}{PARA 0 "" 0 "" {TEXT 23 28 "the steepest of the surface." }}{PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}}{MARK "33 0" 0 }{VIEWOPTS 1 1 0 1 1 1803 1 1 1 1 }{PAGENUMBERS 0 1 2 33 1 1 }