$atan

Return the arc tangent of X.

$atan(X)

Example: vResult = $atan(1 / 2)

Parameters

X—numeric value.

Return Values

Calculated arc tangent value.

If an error occurs, $procerror contains a negative value that identifies the exact error.

Use

Allowed in all component types.

Description

The $atan function calculates the arc tangent of X, that is, it returns that angle, in radians, whose tangent ($tan) is X.

Using $atan

The following example returns the arc tangent of the given expression:

vResult  = $atan(1 / 2)

Related Topics