Chapter12Sec1ShowCode

# Chapter12Sec1ShowCode - Initialization Cells(Code Needed...

This preview shows pages 1–5. Sign up to view the full content.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Initialization Cells (Code Needed for Most Plot3D Statements) In[96]:= ticks @ min_, max_ D : = Join @ Table @8 i, If @ i 0, , Style @ i, 12 DD , 8 0.01, 0 << , 8 i, Ceiling @ min D , Floor @ max D , 2 <D , H * Numbered ticks * L Table @8 j, , 8 0.01, 0 << , 8 j, Round @ min D , Round @ max- 1 D , 1 <DD H * Un- numbered ticks * L H * 2D Options * L SetOptions @ Plot, ImageSize fi 350, AxesOrigin fi 8 0, 0 < , AspectRatio fi 1, AxesStyle fi Directive @ Medium, Bold D , Ticks fi ticks D ; H * 3D Options * L SetOptions @ Plot3D, ImageSize fi 600, BoxRatios fi 1, Boxed fi False, AxesOrigin fi 8 0, 0, 0 < , AxesStyle fi Directive @ Medium, Bold D , Ticks fi ticks, Mesh fi None, ViewPoint fi 8 2, 0.9, 1 < , ViewVertical fi 8 0, 0, 1 < D ; SetOptions @ ContourPlot3D, ImageSize fi 600, BoxRatios fi 1, Boxed fi False, AxesOrigin fi 8 0, 0, 0 < , AxesStyle fi Directive @ Medium, Bold D , Ticks fi ticks, Mesh fi None, ViewPoint fi 8 2, 0.9, 1 < , ViewVertical fi 8 0, 0, 1 < D ; SetOptions @ ParametricPlot3D, ImageSize fi 600, BoxRatios fi 1, Boxed fi False, AxesOrigin fi 8 0, 0, 0 < , AxesStyle fi Directive @ Medium, Bold D , Ticks fi ticks, Mesh fi None, ViewPoint fi 8 2, 0.9, 1 < , ViewVertical fi 8 0, 0, 1 < D ; SetOptions @ RegionPlot3D, ImageSize fi 600, BoxRatios fi 1, Boxed fi False, AxesOrigin fi 8 0, 0, 0 < , AxesStyle fi Directive @ Medium, Bold D , Ticks fi ticks, Mesh fi None, ViewPoint fi 8 2, 0.9, 1 < , ViewVertical fi 8 0, 0, 1 < D ; Chapter 12 : Vectors and the Geometry of Space In[102]:= Import @ "T: Teaching Fall2011 Calculus III myCh12Movie.mov", "Animation" D 2 Chapter12Sec1ShowCode.nb Out[102]= Chapter12Sec1ShowCode.nb 3 Section 12.1: Three-Dimensional Coordinate Systems ª Points in 3D Space and Distance Between Them Plot the points (2,4,3) and (-3,-2,1). In[103]:= Show @ Plot3D @ 0, 8 x,- 4.5, 4.5 < , 8 y,- 4.5, 4.5 < , PlotRange fi 8- 4.5, 4.5 < , PlotStyle fi Directive @ Opacity @ DD , Mesh fi None, BoundaryStyle fi None D , Graphics3D @ Text @ Style @ x, Large D , 8 5.2, 0, 0 <DD , H * Label the x- axis * L Graphics3D @ Text @ Style @ y, Large D , 8 0, 5, 0 <DD , H * Label the y- axis * L Graphics3D @ Text @ Style @ z, Large D , 8 0, 0, 5.2 <DD , H * Label the z- axis * L H * ================================== Extra stuff for this example...not part of the template ================================= * L ParametricPlot3D @8 2, t, 0 < , 8 t, 0, 4 < , PlotStyle fi 8 Thick, Dashed, Blue <D , ParametricPlot3D @8 t, 4, 0 < , 8 t, 0, 2 < , PlotStyle fi 8 Thick, Dashed, Blue <D , ParametricPlot3D @8 2, 4, t < , 8 t, 0, 3 < , PlotStyle fi 8 Thick, Dashed, Blue <D , Graphics3D @8 PointSize @ Large D , Point @88 2, 0, 0 < , 8 2, 4, 0 < , 8 2, 4, 3 < , 8 0, 4, 0 <<D<D , Graphics3D @ Text @ Style @ " H 2, 4, 3 L ", Large D , 8 2, 4, 3.5 <DD , Graphics3D @ Text @ Style @ " H 2, 0, 0 L ", Large D , 8 2,- 1, 0 <DD , Graphics3D @ Text @ Style @ " H 2, 4, 0 L ", Large D , 8 3, 4, 0 <DD , Graphics3D @ Text @ Style @ " H 0, 4, 0 L ", Large D , 8- 1, 4, 0...
View Full Document

{[ snackBarMessage ]}

### Page1 / 23

Chapter12Sec1ShowCode - Initialization Cells(Code Needed...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online