Skip to main content

atan

Syntax Format​

atan(y[, x])

Overview​

The atan returns the arctangent of a given value. The function returns the arc tangent of y/x in radians in the range [-π/2, π/2].

Parameters​

ParameterTypePurposeDefault State
yseries or numericy-coordinate proportion value-
xseries or numericx-coordinate proportion value1

Returns: same type as y.

Example​

value = atan(1) --equals ~0.7854 radians