| Applying science to business management |
  
atan2
Format: atan2( x, y )
Arguments: (real) x, y Input values; x
and y cannot both be 0
Returns: (real) The 4-quadrant arc tangent of y/x
in radians
Description: The arc tangent of y/x is
defined as the angle (in radians) whose tangent is y/x.
More specifically, atan2 returns the angle between the
positive x-axis and a line from the origin (0,0) to the point (x,y)
in a Cartesian coordinate plane. The result always lies between -PI and PI.
Examples: atan2(2,1) = 0.464
atan2(-2,1) = 2.678
atan2(-2,-1) = -2.678
atan2(2,-1) = -0.464
See Also: atan, asin, acos, sin, cos,
tan, PI, arg
|