Reference to the trigonometric functions

## Summary

Performs the indicated trigonometric function on each data value described by the expression.

Function SyntaxDescriptionInput ValuesReturn ValuesMath Notation
`sin(<expression>)` Sine Radians Ratio of opposite/hypotenuse sides for an angle of Θ radians. `sin` Θ
`cos(<expression>)` Cosine Radians Ratio of adjacent/hypotenuse sides for an angle of Θ radians. `cos` Θ
`tan(<expression>)` Tangent Radians Ratio of opposite/adjacent sides for an angle of Θ radians. `tan` Θ
`asin(<expression>)` Arcsine
Inverse of `sin()`
Ratio of sides.
Number -1 < x < 1
Radians in the angle for a given ratio of opposite/hypotenuse sides. `asin` `x`
`acos(<expression>)` Arccosine
Inverse of `cos()`
Ratio of sides.
Number -1 < x < 1
Radians in the angle for a given ratio of adjacent/hypotenuse sides. `acos` `x`
`atan(<expression>)` Arctangent
Inverse of `tan()`
Ratio of sides Radians in the angle for a given ratio of opposite/adjacent sides. `atan` `x`
`atan2(<y-expression>, <x-expression>)` Arctangent
Alternative to `atan()`
y and x coordinates Radians in the angle for a ratio of y and x coordinates. `atan` `y``/``x`
`sinh(<expression>)` Hyperbolic sine Number (ex - e-x)/2 `sinh` `x`
`cosh(<expression>)` Hyperbolic cosine Number (ex + e-x)/2 `cosh` `x`
`tanh(<expression>)` Hyperbolic tangent Number (`sinh` `x`)/(`cosh` `x`) `tanh` `x`

## Parameters

ParameterDescription
expression Expression describing input values that are interpreted as indicated in the table above. Note: You can use `toRadians()` to convert values from numbers of degrees to numbers of radians.
y-expression, x-expression Used in `atan2()`. Expressions describing values that represent pairs of y and x coordinates.

## Description

Each trigonometric function produces data points by performing a calculation on the data points returned by the input expression.

• If `expression` is a constant, then the function returns a continuous series.
• If `expression` describes one or more time series, then the function returns a new time series for each input time series. Each value in a new time series is obtained by operating on the value of the corresponding point in the input time series.

## See Also

`toDegrees()`

`toRadians()`