You should know that
Going the other way:
Finding is more difficult as it depends on the values of and .
undefined for .
These values come from elementary trigonometry.
I need to convert these coordinates from cartesian to spherical.
and these coordinates from spherical to cartesian
(5, , )
I've done a bunch of searches, but none of the websites I found were very clear. Could someone explain this to me?