Step 1:
The spherical coordinates $(\rho, \phi, \theta)$ are related to the Cartesian coordinates $(x, y, z)$ by the equations:
$x = \rho \sin \phi \cos \theta$
$y = \rho \sin \phi \sin \theta$
$z = \rho \cos \phi$
where $\rho \ge 0$, $0 \le \phi \le \pi$, and $0
Show more…