The COS trigonometric function returns the cosine of an angle expressed in radians.
This function can be useful to smooth cyclical fluctuations in moving averages.
Syntax
COS(Angle)
Arguments
| Argument | Data type | Description |
| Angle | Number | The angle in radians for which you want to calculate the cosine. Use the |
The COS() function returns a numeric value between -1 and 1, inclusive.
Calculation engine functionality differences
This function is only available in the Polaris Calculation Engine.
Syntax example
COS(PI() / 3)
Additional information
Returns NaN when Angle is NaN.
Excel equivalent
Examples
| Formula | Result |
COS(1.047) | 0.5002 |
COS(60 * PI() / 180) | 0.5 |
COS(TORADIANS(60)) | 0.5 |
Example 1: Customer engagement score decay modeling
Example 2: Bond price sensitivity to interest rate cycles
Example 3: Carrier rate cycle optimisation
Example 4: Employee productivity rhythm modeling