Skip to main content

atan

Syntax Format

atan(y[, x])

Overview

The atan function provides the arctangent for the indicated type 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 radians5.-Functions/Maths-Functions/