Chapter15Sec4

Chapter15Sec4 - 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 * Some 2D code to generate polar rectangles * L 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 dr, Α + Θ dtheta, Α + H Θ + 1 L dtheta D , 8 i, 0, m- 1 < , 8 Θ , 0, n- 1 <D D D H * Assumptions: r < R, Α<Β * L myPolarGridwithPoints @ 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 dr, Α + Θ dtheta, Α + H Θ +...
View Full Document

This note was uploaded on 01/13/2012 for the course MATH 333 taught by Professor Keithemmert during the Fall '11 term at Tarleton.

Page1 / 10

Chapter15Sec4 - 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