sin

Return the sine of a given number. The value passed in this function should be in radians.

This function does not generate a change.

Function

sin(number)

Arguments

Argument Type Description
number int/float (required) Input number

Return value

Returns with a float, the sine of value passed as argument.

Example

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"