Vanguard Software
Forecasting & Planning Solutions
Home Products Solutions Services Customers Partners Company
 
Applying science to business management

contents.gifindex.gifprev1.gifnext1.gif

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

  Demand Planning  |  Financial Forecasting
Forecasting Software  |  Strategic Planning Software  |  Decision Tree Software
Decision Support Software  |  Expert System Software  |  Online Surveys

Contact Us  |  Terms of Use  |  Privacy Policy  |  Site Map
Vanguard Software
© 2011 Vanguard Software Corporation
Print this page   Email this page to a friend