Sorry guys, I don't know how to be more specific in the question without writing a way too long question...
Anyway my problem:
I have this formula to calculate the distance between two points on the earth. $$d=\operatorname{arcos}\left(\sin\theta_1\ \sin\theta_2+\cos\theta_1\ \cos\theta_2\ \cos(\phi_2-\phi_1)\right)$$
Now I need to calculate $\phi_2$.
I tried to change the formula myself but I failed to do it right. Now I am asking you guys to help me. It would be nice if someone could show me how he resolves it.
Thanks in advance