Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. restart;
  2. with(plots);
  3.  
  4. Y21 := (15/8)*cos(theta)^2*sin(theta)^2/Pi;
  5. plot(Y21, theta = 0 .. Pi);
  6.  
  7. plot3d(Y21, phi = 0 .. 2*Pi, theta = 0 .. Pi, coords = spherical, scaling = constrained);
  8. y00 := 1/(4*Pi);
  9. plot3d(y00, phi = 0 .. 2*Pi, theta = 0 .. Pi, coords = spherical, scaling = constrained);
  10. y10 := 3*cos(theta)^2/(4*Pi);
  11. plot3d(y10, phi = 0 .. 2*Pi, theta = 0 .. Pi, coords = spherical, scaling = constrained);
  12. y11 := 3*sin(theta)^2/(8*Pi);
  13. plot3d(y11, phi = 0 .. 2*Pi, theta = 0 .. Pi, coords = spherical, scaling = constrained);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement