ATAN Function


Returns the arc tangent

Category: Trigonometric

Syntax

ATAN ( argument )

Arguments

argument

  • is numeric.

Details

The ATAN function returns the 2-quadrant arc tangent (inverse tangent) of the argument. The value that is returned is the angle (in radians) whose tangent is x and whose value ranges from - / 2 to / 2. If the argument is missing, then ATAN returns a missing value.

Comparisons

The ATAN function is similar to the ATAN2 function except that ATAN2 calculates the arc tangent of the angle from the values of two arguments rather than from one argument.

Examples

SAS Statements

Results

x=atan(0);

x=atan(1);

0.7853981634

x=atan(-9.0);

-1.460139106

See Also

  • 'ATAN2 Function' on page 321




SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 704

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net