ATAN2

The ATAN2 function returns the angle, relative to the positive x-axis, of the line passing through the origin and the specified point. Both arguments are number values.

ATAN2(x, y)

x: The x-coordinate of the point the line passes through.

y: The y-coordinate of the point the line passes through.

Notes

  • The angle is expressed in radians, in the range –π to +π (–pi through +pi). To see the resulting angle in degrees instead of radians, wrap this function in the DEGREES function; that is, =DEGREES(ATAN2(x, y)).

Examples

=ATAN2(0,1) returns 1.5707963267949 radians (90 degrees), the angle of a line segment from the origin to point (0, 1).

=DEGREES(ATAN2(0, 1)) returns 90.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.
Kasulik?
Tähemärkide piirang: 250
Maksimaalne tähemärkide piirang on 250.
Täname tagasiside eest.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.