MicroStrategy ONE
Cosine
This function takes the value of an angle in radians and returns the cosine of the angle as a number between -1 and 1.
In a given right triangle containing an angle A
, there are three sides: the side opposite to A
, the side adjacent to A
, and the side opposite to the right angle (hypotenuse). The cosine of A
is the ratio of the lengths of the adjacent side over the hypotenuse.
To convert degrees to radians, multiply by p/180. This is a single-value function.
Syntax
Where:
Argument
is a metric representing a list of real numbers. The values are the angles, in radians, for which the value of the cosine is sought. To convert the result from radians to degrees, multiply by 180/p.