IF (r, θ, φ) are defined by the traditional choice of speherical coordinates where the transformation is given by: x = r sin(φ) cos(θ), y = r sin(φ) sin(θ), z = r cos(φ) then we can have the graphs of surfaces with the forme r = r(θ, φ). For example we can get the graph of r = 1 + cos(φ^2) using the code shown in the image - Using the given information sketch the graphs for: r = sin(2φ), r=sin(φ)sin(4θ) -Surfaces with the form r = 1 + (1/5) sin(mθ)sin(nφ) have been used as model for tumors. Sketch the graph of this surface m = 6 and n = 5. Explain how'd you calculate its volume

Advanced Engineering Mathematics
10th Edition
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Erwin Kreyszig
Chapter2: Second-order Linear Odes
Section: Chapter Questions
Problem 1RQ
icon
Related questions
icon
Concept explainers
Question

IF (r, θ, φ) are defined by the traditional choice of speherical coordinates where the transformation is given by: x = r sin(φ) cos(θ), y = r sin(φ) sin(θ), z = r cos(φ)

then we can have the graphs of surfaces with the forme r = r(θ, φ). For example we can get the graph of r = 1 + cos(φ^2) using the code shown in the image

- Using the given information sketch the graphs for: r = sin(2φ), r=sin(φ)sin(4θ)

-Surfaces with the form r = 1 + (1/5) sin(mθ)sin(nφ) have been used as model for tumors. Sketch the graph of this surface m = 6 and n = 5. Explain how'd you calculate its volume

import numpy as np
import matplotlib.pyplot as plt
import mpl_toolkits.mplot3d.axes3d as axes3d
theta, phi
np.linspace(0, 2 * np.pi, 40), np.linspace(0, np.pi, 40)
%3D
THETA, PHI =
1+np.cos(PHI**2)
X = R *
np.meshgrid(theta, phi)
R =
np.sin(PHI) * np.cos(THETA)
Y = R *
np.sin(PHI) *
np.sin(THETA)
Z = R * np.cos (PHI)
fig
fig.add_subplot(1,1,1, projection="3d")
plot
X, Y, Z, rstride=1, cstride=1, cmap=plt.get_cmap("jet"),
linewidth=0, antialiased=False, alpha=0.5)
plt.figure()
ax =
ax.plot_surface(
%3D
plt.show()
2.0
15
10
0.5
0.0
-0.5
-1.0
-1.5
-1.0 -0.5 0.0 0.5
10
Transcribed Image Text:import numpy as np import matplotlib.pyplot as plt import mpl_toolkits.mplot3d.axes3d as axes3d theta, phi np.linspace(0, 2 * np.pi, 40), np.linspace(0, np.pi, 40) %3D THETA, PHI = 1+np.cos(PHI**2) X = R * np.meshgrid(theta, phi) R = np.sin(PHI) * np.cos(THETA) Y = R * np.sin(PHI) * np.sin(THETA) Z = R * np.cos (PHI) fig fig.add_subplot(1,1,1, projection="3d") plot X, Y, Z, rstride=1, cstride=1, cmap=plt.get_cmap("jet"), linewidth=0, antialiased=False, alpha=0.5) plt.figure() ax = ax.plot_surface( %3D plt.show() 2.0 15 10 0.5 0.0 -0.5 -1.0 -1.5 -1.0 -0.5 0.0 0.5 10
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Knowledge Booster
Application of Integration
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, advanced-math and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Advanced Engineering Mathematics
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
Introductory Mathematics for Engineering Applicat…
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Mathematics For Machine Technology
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,
Basic Technical Mathematics
Basic Technical Mathematics
Advanced Math
ISBN:
9780134437705
Author:
Washington
Publisher:
PEARSON
Topology
Topology
Advanced Math
ISBN:
9780134689517
Author:
Munkres, James R.
Publisher:
Pearson,