Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

On a spreadsheet, use the following equation to get an answer in degrees in the range 0 ≤ Φ < 360:

Mathdisplay
\phi =\mod\left(180 + \frac{180}{\pi}atan2(u,v,u),360\right)

The atan2 arguments vary by type of software and in some applications the arguments (u,v, u) are switched around. For more details please have a look at the section 'Realizations of the function in common computer languages' in the following link: https://en.wikipedia.org/wiki/Atan2

...