This equation computes the angle, ϕof a vector from the magnitude of the angle, |→v| and the x-component of the vector, vx. See Figure B.
Reference
Young, Hugh and Freeman, Roger. University Physics With Modern Physics. Addison-Wesley, 2008. 12th Edition, (ISBN-13: 978-0321500625 ISBN-10: 0321500628 ) Pg 16 eq 1.6