Manuals/calci/ATAN2

From ZCubes Wiki
Revision as of 03:32, 6 November 2013 by Abin (talk | contribs) (→‎Description)
Jump to navigation Jump to search
ATAN2(x,y)


  • x & y are coordinates

Description

  • This function gives the inverse function of Tangent in trigonometry with two arguments (x,y).
  • Here the arguments x & y not both equal to zero.
  • Also ATan2(x,y) is the angle between the x-axis and the point given by the co-ordinate (x,y) on it.
  • where x is the x-coordinate point & y is the y-coordinate point.
  • The angle is positive for counter-clockwise angles (upper half-plane, y > 0), and negative for clockwise angles (lower half-plane, y < 0).
  • Also the angle is with in Failed to parse (syntax error): {\displaystyle -\pi &nbsp; to \pi}

Examples

ATAN2(x,y)

  • x & y are coordinates
ATAN2(x,y) Value(Radian)
ATAN2(5,-6) -0.8760580
ATAN(0,1) 1.5707963
ATAN(1,0) 0

See Also

References



Where xn is the x-coordinate and yn is the y-coordinate of that particular point ATAN2 returns the error value when both xn and yn are 0. If you want to convert the arctangent in degrees, multiply the result by 180/PI. Calci returns the arctangent of the particular x- and y-coordinates. It is the angle from the x-axis to a line with origin (0, 0) and with coordinates (xn, yn).