Chapter15Sec8

# Chapter15Sec8 - Initialization Cells(Code Needed for Most...

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

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) 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 * Limitation to the module: Assume that r < R and Α<Β * L myPolarRectangle @ r0_, R0_, Α 0_, Β 0_ D : = Module @ 8 r = r0, R = R0, Α = Α 0, Β = Β < , H * List of variables passed to the module * L Show @ PolarPlot @ r, 8 Θ , Α , Β < , PlotStyle fi 8 Thick, Black <D , PolarPlot @ R, 8 Θ , Α , Β < , PlotStyle fi 8 Thick, Black <D , Graphics @8 Thick, Black, Line @88 r Cos @ Α D , r Sin @ Α D< , 8 R Cos @ Α D , R Sin @ Α D<<D <D , Graphics @8 Thick, Black, Line @88 r Cos @ Β D , r Sin @ Β D< , 8 R Cos @ Β D , R Sin @ Β D<<D <D D D H * Assumptions: r < R, Α<Β * L myPolarGrid @ m0_, n0_, r0_, R0_, Α 0_, Β 0_ D : = Module @8 m = m0, n = n0, r = r0, R = R0, Α = Α 0, Β = Β < , dr = H R- r L m; dtheta = H Β - Α L n; Show @ Table @ myPolarRectangle @ r + i dr, r + H i + 1 L...
View Full Document

• Fall '11
• KeithEmmert
• Spherical coordinate system, Polar coordinate system, Cylindrical coordinate system, cylindrical coordinates, Ticks ticks

{[ snackBarMessage ]}

### Page1 / 9

Chapter15Sec8 - Initialization Cells(Code Needed for Most...

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

View Full Document
Ask a homework question - tutors are online