SIN( ) function
Syntax
SIN(radians)
Parameters
Name | Type | Description |
---|---|---|
radians | numeric |
The measurement of the angle in radians. |
Output
Numeric.
Examples
Basic examples
Returns 0.500000000000000 (the sine of the specified number of radians, equivalent to 30 degrees):
SIN(0.523598775598299)
Returns 0.500000000000000 (the sine value of 30 degrees):
SIN(30 * PI( )/180)
Advanced examples
Using degrees as input
Returns 0.500 (the sine of 30 degrees, rounded to 3 decimal places):
DEC(SIN(30 * PI( )/180),3)
Remarks
Performing the Mantissa Arc Test
The three trigonometric functions in Analytics – SIN( ), COS( ), and TAN( ) – support performing the Mantissa Arc Test associated with Benford's Law.
Converting degrees to radians
If your input is in degrees you can use the PI( ) function to convert the input to radians: (degrees * PI( )/180) = radians. If required, you can round or truncate the return value using the DEC( ) function.