The following drawing shows how to convert from Cartesian coordinates to spherical coordinates. This is a short post, but these three equations are pretty useful. I am going to use the end of this post to define the cosine and sine functions: $ \sin\phi \equiv \frac{opp}{hyp}$ $ \cos\phi \equiv \frac{adj}{hyp}$. Here, $ hyp$ is the…