SIN function in Oracle

SIN is one of the vital Numeric/Math functions of Oracle. It is used to get the Sine of a number. The SIN function is supported in the various versions of the Oracle/PLSQL, including, Oracle 12c, Oracle 11g, Oracle 10g, Oracle 9i and Oracle 8i.

Syntax:

SIN ( number )

Parameters:
number: It is used to specify the number in radians to get the Sine value of.

Example 1:

SIN (1)

Output:

0.8414709848

Explanation:
The Sine value of 1 radian is 0.8414709848, and so is the result.

Example 2:

SIN (-1)

Output:

-0.8414709848

Explanation:
The Sine value of -1 radian is -0.8414709848, and so is the result.

Example 3:

SIN (0)

Output:

0

Explanation:
The Sine value of 0 is 0, and so is the result.