Summary[edit]
% Matlab code:
theta = [0:5:180]*pi/180;
phi = [0:5:360]*pi/180;
[Theta, Phi] = meshgrid(theta, phi);
H = abs(1);
X = H.*sin(Theta).*cos(Phi);
Y = H.*sin(Theta).*sin(Phi);
Z = H.*cos(Theta);
subplot(2,3,1)
surf(X,Y,Z)
title('Y_0^0 = 1')
axis equal off
H = abs(cos(Theta));
X = H.*sin(Theta).*cos(Phi);
Y = H.*sin(Theta).*sin(Phi);
Z = H.*cos(Theta);
subplot(2,3,2)
surf(X,Y,Z)
title('Y_1^0 = cos\theta')
axis equal off
H = abs(3*cos(Theta).^2-1);
X = H.*sin(Theta).*cos(Phi);
Y = H.*sin(Theta).*sin(Phi);
Z = H.*cos(Theta);
subplot(2,3,3)
surf(X,Y,Z)
title('Y_2^0 = 3cos^2\theta-1')
axis equal off
H = abs(cos(Theta).*sin(Theta).*sin(Phi));
X = H.*sin(Theta).*cos(Phi);
Y = H.*sin(Theta).*sin(Phi);
Z = H.*cos(Theta);
subplot(2,3,4)
surf(X,Y,Z)
title('^sY_2^1 = cos\theta sin\theta sin\phi')
axis equal off
[Theta, Phi] = meshgrid(theta, phi);
H = abs(5*cos(Theta).^3-3*cos(Theta));
X = H.*sin(Theta).*cos(Phi);
Y = H.*sin(Theta).*sin(Phi);
Z = H.*cos(Theta);
subplot(2,3,5)
surf(X,Y,Z)
title('Y_3^0=5cos^3\theta-3cos\theta')
axis equal off
H = abs( (5*cos(Theta).^2-1).*cos(Phi).*sin(Theta) );
X = H.*sin(Theta).*cos(Phi);
Y = H.*sin(Theta).*sin(Phi);
Z = H.*cos(Theta);
subplot(2,3,6)
surf(X,Y,Z)
title('^cY_3^1=(5cos^2\theta-1)sin\theta cos\phi')
axis equal off
Licensing[edit]
I, the copyright holder of this work, hereby publish it under the following licenses:
|
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue
|
You may select the license of your choice.
|
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Thumbnail | Dimensions | User | Comment |
current | 12:08, 6 December 2010 | | 800×600 (174 KB) | P.wormer | |
The following page links to this file: