11.07.2015 Views

Maple 9 Learning Guide - Maplesoft

Maple 9 Learning Guide - Maplesoft

Maple 9 Learning Guide - Maplesoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.2 Graphing in Three Dimensions • 123To plot a sphere in spherical coordinates, specify the radius, perhaps 1,let θ run around the equator, and let φ run from the North Pole (φ = 0)to the South Pole (φ = π).> sphereplot( 1, theta=0..2*Pi, phi=0..Pi,> scaling=constrained );For more information on constrained versus unconstrained plotting,see 5.1 Graphing in Two Dimensions.The sphereplot command also accepts parametrized plots, that is,functions that define the radius and both angle-coordinates in terms of twoparameters, for example, s and t. The syntax is similar to a parametrizedplot in Cartesian (ordinary) coordinates. See this section, page 121.sphereplot( [ r-expr, theta-expr, phi-expr ],parameter1=range, parameter2=range )Here r = exp(s) + t, θ = cos(s + t), and φ = t 2 .> sphereplot( [ exp(s)+t, cos(s+t), t^2 ],> s=0..2*Pi, t=-2..2 );

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!