Return the sine of a given number. The value passed in this function should be in radians.
This function does not generate a change.
sin(number)
Argument | Type | Description |
---|---|---|
number | int/float (required) | Input number |
Returns with a float, the sine of value passed as argument.
sin() function example:
`The value of sine of pi / 6 is {sin(MATH_PI / 6)}`
Return value in JSON format
"The value of sine of pi / 6 is 0.5"