Where does this formula for tan(θ) come from?

86 Views Asked by At

I am trying to understand the derivation of formulae for converting cartesian coordinates to latitude/longitude. I found a detailed description here (check link for more details) but it is not mentioned how the equation $$ \tag{3}\tan(\theta) = \frac{\sin(\Delta\lambda)\cos(\varphi_2)}{\cos(\varphi_1)\sin(\varphi_2)-\sin(\varphi_1)\cos(\varphi_2)\cos(\Delta\lambda)} $$ is built.