ATAN2 (arctangent 2)

<< Click to Display Table of Contents >>

ATAN2 (arctangent 2)

Syntax:

ATAN2(x, y)

Description:

This returns the arctangent of the given coordinates, i.e., the angle between the x axis and a line from the origin (0, 0) to a point with the coordinates (x, y).

The x and y coordinates of this point must be given as arguments.

The result is expressed in radians.

Example:

ATAN2(1, 1) returns 0.7854 (45°)

Tip:

You can use the DEGREES function to convert the result from radians to degrees.

See also:

ATAN, TAN