So I'm learning computer programming and I've come across a formula:
According to wikipedia this is calculated by:
2 arctan (square root(x^2 + y^2) - x) / y
Could someone please explain what this formula means.
The article explains what atan2 is/does.For that particular formula read what wikipedia says and follow the link where it points to the tangent half angle formula.
When you have done that if you have any more questions about this post a follow up question in this thread.