Parameters, Value
Arctangent function calculates the radians of the tangent value, the output is [-PI/2, PI/2]
.
Syntax: atan(<tangent>)
- Format: atan(
<tangent>
) - Parameters: see table below
- Value: ATTR ( number ), it should be >= -PI/2 and <= PI/2
Name | Category | Specification | Description |
---|---|---|---|
radian | ATTR(number) | / | the tangent value to be calculated |
Common Usage
Example: calculate the radian when the given tangent value is 1
return atan(1) * 180 / pi()
Example: calculate the radians of a column of tangent values
uncollect [1, -0.5, 0] as a
return atan(a)