ATan

Description

Calculates the arc tangent 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 arc tangent of n if it succeeds.

Examples

Example 1

This expression returns 0:

ATan(0)

Example 2

This expression returns 1.000 (rounded to three places):

ATan(1.55741)

Example 3

This expression returns 1.267267 (rounded to six places):

ATan(Pi(1))

See also