Chapter15Sec8

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

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
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

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 Right Arrow Icon
Ask a homework question - tutors are online