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)

Returns

Double. Returns the arctangent of n.

Examples

Example 1

This statement returns 0:

ATan(0)

Example 2

This statement returns 1.000 (rounded to three places):

ATan(1.55741)

Example 3

This statement returns 1.267267 (rounded to six places):

ATan(Pi(1))

See also