Angles of a known 3d vector

15.3k Views Asked by At

I have a 3d vector r known by its coordinates rx, ry, rz. How can calculate angles Theta and Phi ?

enter image description here