ATAN (Angle From X-Axis to a Point)

The ATAN function is a mathematical function that returns the angle (in radians) from the x-axis to a point (y,x). This is sometimes referred to as ATAN2.

Function Name

ATAN (also known as ATAN2).

Description

Returns the angle from the x-axis to a point (y, x).

Arguments

ATAN(Y, X)

Where Y is a REAL or INTEGER that represents a cartesian y coordinate, and X is a REAL or INTEGER that represents a cartesian x coordinate. For information on integers and real floating values—see Number (Integer or Real).

When there are 2 inputs (y and x), the result is equivalent to y divided by x. ATAN (y, x) is equivalent to ATAN (y/x).

Returns

REAL

The output is the angle (in radians) from the x-axis to a point (y,x)

Example:

ATAN(20, 3)

The output is 1.42 or the angle (in radians) from the x-axis to a point (y,x).


Disclaimer

Geo SCADA Expert 2019