ATAN2

Returns the inverse tangent of the specified x and y coordinates, expressed in radians.

Sample Usage

ATAN2(1,1)
ATAN2(C5,C6)

Syntax

ATAN2(x_coordinate,y_coordinate)

  • x_coordinate - The x coordinate of the point for which the inverse tangent is to be computed.
  • y_coordinate - The y coordinate of the point for which the inverse tangent is to be computed.

Examples

ATAN2(1,1) returns the inverse tangent of the point (1,1) in radians.
ATAN2(0.5,0) returns the inverse tangent of the point (0.5,0) in radians.

Notes

  • Use the DEGREES function to convert the result of ATAN2 into degrees. For example, DEGREES(ATAN2(1,1)).