ATAN Function
Returns the arc tangent.
| Categories: | Trigonometric |
| CAS |
Syntax
ATAN(argument)
Required Argument
argument
specifies a numeric constant, variable, or expression.
Details
Comparisons
The ATAN function is
similar to the ATAN2 function except that ATAN2 calculates the arc
tangent of the angle from the ratio of two arguments rather than from
one argument.
Example
The following SAS statements
produce these results:
|
SAS Statement
|
Result
|
|---|---|
data_null_; x=atan(0); put x=; run; |
x=0 |
data_null; x=atan(1); put x=; run; |
x=0.7853981634 |
data_null_; x=atan(-9.0); put x=; run; |
x=-1.460139106 |
See Also
Functions:
Copyright © SAS Institute Inc. All Rights Reserved.
Last updated: March 16, 2017