Cos

cos

Computes the cosine of an angle (radians).

Spec

cos(x)

Parameters

  • x: Numeric, converted to real; interpreted as radians.

Return value

real cosine of x.

Example

datatable(angle:real)[0, 1.5707963267948966]
| extend c = cos(angle)
anglec
01
1.57079632679489660