diff --git a/docs/querying/functions.md b/docs/querying/functions.md index df2a439e1d..8583ce3ec6 100644 --- a/docs/querying/functions.md +++ b/docs/querying/functions.md @@ -437,12 +437,17 @@ aggregation even if the values are not equally spaced throughout the interval. ## Trigonometric Functions -- `acos(v instant-vector)`: calculates the arccosine, in radians, of all elements in `v` ([special cases](https://pkg.go.dev/math#Acos)). -- `asin(v instant-vector)`: calculates the arcsine, in radians, of all elements in `v` ([special cases](https://pkg.go.dev/math#Asin)). -- `atan(v instant-vector)`: calculates the arctangent, in radians, of all elements in `v` ([special cases](https://pkg.go.dev/math#Atan)). -- `cos(v instant-vector)`: calculates the cosine, in radians, of all elements in `v` ([special cases](https://pkg.go.dev/math#Cos)). +The trigonometric functions work in radians: + +- `acos(v instant-vector)`: calculates the arccosine of all elements in `v` ([special cases](https://pkg.go.dev/math#Acos)). +- `asin(v instant-vector)`: calculates the arcsine of all elements in `v` ([special cases](https://pkg.go.dev/math#Asin)). +- `atan(v instant-vector)`: calculates the arctangent of all elements in `v` ([special cases](https://pkg.go.dev/math#Atan)). +- `cos(v instant-vector)`: calculates the cosine of all elements in `v` ([special cases](https://pkg.go.dev/math#Cos)). +- `sin(v instant-vector)`: calculates the sine of all elements in `v` ([special cases](https://pkg.go.dev/math#Sin)). +- `tan(v instant-vector)`: calculates the tangent of all elements in `v` ([special cases](https://pkg.go.dev/math#Tan)). + +The following are useful for converting between degrees and radians: + - `deg(v instant-vector)`: converts radians to degrees for all elements in `v`. - `pi()`: returns the first 16 digits of Pi. -- `rad(v instant-vector)`: converts degrees to radians for all elements in `v`. -- `sin(v instant-vector)`: calculates the sine, in radians, of all elements in `v` ([special cases](https://pkg.go.dev/math#Sin)). -- `tan(v instant-vector)`: calculates the tangent, in radians, of all elements in `v` ([special cases](https://pkg.go.dev/math#Tan)). \ No newline at end of file +- `rad(v instant-vector)`: converts degrees to radians for all elements in `v`. \ No newline at end of file