math.sin() function
The math.sin()
function returns the sine of the radian argument x
.
Output data type: Float
import "math"
math.sin(x: 3.14)
// Returns 0.0015926529164868282
Parameters
x
The radian value used in the operation.
Special cases
math.sin(x: ±0) // Returns ±0
math.sin(x: ±Inf) // Returns NaN
math.sin(x: NaN) // Returns NaN
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Flux and this documentation. To find support, use the following resources:
InfluxDB Cloud customers can contact InfluxData Support.