cos({n})

Returns the cosine value of radians value {n}. {n} can be any real number in the range of -1e308 <= {n} <= 1e308. If null is passed as an argument, cos() returns null.

cos({n}) takes the following syntax.

1SELECT COS(N) as ALIAS
2FROM DATASET;

Example 

This example takes the cosine of 90 degrees.

1SELECT COS(RADIANS(90)) as cosValue
2FROM "Opportunity"
3LIMIT 1;
cosValue
6.12323e-17