Question: Hi, can someone help me with this MATHEMATICA question Part 5 Spherical Coordinates: SphericalPlot3D -- Create a plot of sphfct over domain D = [sphDomainStart,

Hi, can someone help me with this MATHEMATICA question

Part 5 Spherical Coordinates: SphericalPlot3D -- Create a plot of sphfct over domain D = [sphDomainStart, sphDomainEnd] as defined -- Complete the definition of sphfct3D. This is a curve in 3D corresponding to phi=0 and theta in D. You will need to read the Help for SphericalPlot3D to learn what this curve definition should be -- Complete sphfct3Dplot to generate a 3D plot of a curve that appears as a curve on the SphericalPlot3D surface

sphDomainStart = 0.0; sphDomainEnd = Pi;

(* function to use to create generating function *) sphfct[\[Theta]_] := 1 + 2 Cos[2 \[Theta]];

(* TO DO *) (* plot the input function *) (* TO DO *) (* 3d curve for spherical plot surface. Plot curve on surface for \ phi=0, theta in sphDomain *) sphfct3D[theta_] := {0.0, 0.0 , 0.0};

(* TO DO *) (* create a 3d plot of it *) (* Add PlotStyle\[Rule]{Red,Thick} *) (*sphfct3Dplot = ... *)

splot = SphericalPlot3D[ sphfct[\[Theta]] , {\[Theta], sphDomainStart , sphDomainEnd}, {\[Phi], 0, 2 Pi}, PlotStyle -> Opacity[0.3], Mesh -> None];

(* plot surface and curve on surface *) Show[{(*sphfct3Dplot, *) splot}, PlotRange -> All]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!