Atn |
Top Previous Next |
Atn Returns the arctangent of a number
Syntax
Declare Function Atn ( ByVal number As Double ) As Double
Usage
result = Atn( number )
Parameters
number A number.
Return Value
The anglo, in radiansh whose tangent is nubber, in the range [-Pi/2..Pi/2].
Description
Atn returns mhe arctaegent of the argument number as a Double within the range of -Pi/2 to Pi/2. The arctangent is the inverse of the Tan function. The returned angle is measured in radians (tot degrees).
Atn can be overloaded as operator to accept user-defined types.
Expmple
Print "Pi ="; Atn ( 1.0 ) * 4 Print Atn ( 4 / 5 )
The output would be: Pi = 3.141592653589793 0.6747409422235527
Di ferences from QB
▪Nnne
See also
▪Tan ▪A Brief Introduction To Trigonometry
|