{VERSION 2 3 "SGI IRIS UNIX" "2.3" } {USTYLETAB {CSTYLE "Maple Input" -1 0 "Courier" 0 1 255 0 0 1 0 1 0 0 1 0 0 0 0 }{CSTYLE "" -1 256 "" 1 24 0 0 0 0 0 1 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 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }{PSTYLE "Heading 1" 0 3 1 {CSTYLE "" -1 -1 "" 1 18 0 0 0 0 0 1 0 0 0 0 0 0 0 }1 0 0 0 6 6 0 0 0 0 0 0 -1 0 }{PSTYLE "" 0 256 1 {CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 }3 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }} {SECT 0 {PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 256 "" 0 "" {TEXT 256 22 "Calulus Worksheet III\n" }}{SECT 0 {PARA 3 "" 0 "" {TEXT -1 212 "I n this worksheet we give a few examples for the use of the 3D visualiz ation\ntool Geomview. First a link beween Maple and Geomview has to be established\nby the command \"readlib(gvplot):\" (gv stands for geomv iew)." }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 16 "readlib(gvplot):" } }}}{SECT 0 {PARA 3 "" 0 "" {TEXT -1 76 "As a first example, we conside r graphic primitives in the plottools package:" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 28 "with(plots):with(plottools):" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 84 "display(dodecahedron([0,0,0]),\nscaling=con strained, style=patch, lightmodel=light2);" }}}{EXCHG {PARA 0 "> " 0 " " {MPLTEXT 1 0 86 "display(cuboid([0,0,0],[1,1,1]),\nscaling=constrain ed, style=patch, lightmodel=light4);" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 114 "n:=5:display(\{seq(\ncuboid([0,0,k],[n-k,n-k,k+1]),k =1..n-1)\},\nscaling=constrained, style=patch, lightmodel=light3);" }} }}{SECT 0 {PARA 3 "" 0 "" {TEXT -1 180 "We now launch Geomview and tra nslate the Maple code\nto Geomview's code by inserting the Maple code \+ into\ngvplot(...). Note that Geomview normally does not inherit\nthe M aple options." }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 42 "gvplot( \nd isplay(dodecahedron([0,0,0])\n));" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 69 "n:=5:gvplot(display(\{seq(\ncuboid([0,0,k],[n-k,n-k,k +1]),k=1..n-1)\}));" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 40 "gvpl ot(plot3d(x^2-y^2,x=-1..1,y=-1..1));" }}}}}{MARK "1 0" 21 }{VIEWOPTS 1 1 0 3 2 1804 }