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