TAN() |
![]() ![]() ![]() |
The TAN() function returns the tangent of a value.
Format
TAN(expr)
where
The TAN() function returns the tangent of expr. Angles are measured in degrees.
If expr is a numeric array (a dynamic array where all elements are numeric), the TAN() function operates on each element in turn and returns a numeric array with the same structure as expr.
Example
OPP = ADJ * TAN(ANGLE)
This statement finds the length of the opposite side of a right angled triangle from the length of the adjacent side and the angle between it and the hypotenuse.
See also: |