Hi all,(adsbygoogle = window.adsbygoogle || []).push({});

I am trying to evaluate and plot a function of two variable in mathematica.

Function:

Where a(t) and b(t) are functions (that I have evaluated already), and Y is the spherical harmonic for a given n, and R is the radius.Code (Text):R(t,\theta) = a(t) + b(t)*Y_n(\theta)

In mathematica I am unsure how to evaluate and plot a function of two variables in spherical coordinates. I attempted to use "SphericalPlot3D" to plot R as a function of \theta and \phi, and "Manipulate" to add a slider to adjust the time but am having no luck.

Any help would be APPRECIATED!!!

**Physics Forums - The Fusion of Science and Community**

# Mathematica: plot and evaluate function of 2 variables

Have something to add?

- Similar discussions for: Mathematica: plot and evaluate function of 2 variables

Loading...

**Physics Forums - The Fusion of Science and Community**