ATan

Description

Calculates the arctangent of an angle.

Syntax

ATan ( n )

Argument

Description

n

The ratio of the lengths of two sides of a triangle for which you want a corresponding angle (in radians)


Return value

Double. Returns the arctangent of n.

Examples

This statement returns 0:

ATan(0)

This statement returns 1.000 (rounded to three places):

ATan(1.55741)

This statement returns 1.267267 (rounded to six places):

ATan(Pi(1))

See also

Tan

ASin

ACos

ATan method for DataWindows in the section called “ATan” in DataWindow Reference.