Oracle / PLSQL: SIN Function

This article is written about how to use the Oracle/PLSQL SIN function with syntax and examples.

Description

The Oracle/PLSQL SIN function returns the sine of n.

Syntax

The syntax for the SIN characteristic in Oracle/PLSQL is:

SIN( n )

Parameters or Arguments

n A numeric cost used to calculate the sine. It is an angle expressed in radians.

Returns

The SIN function returns a numeric value.

Applies To

The SIN feature can be used in the following variations of Oracle/PLSQL:

Oracle 12c, Oracle 11g, Oracle 10g, Oracle 9i, Oracle 8i

Example

Let’s appear at some Oracle SIN feature examples and explore how to use the SIN feature in Oracle/PLSQL.

For example:

SIN(3)
Result: 0.141120008059867

SIN(5.2)
Result: -0.883454655720153

SIN(-5.2)
Result: 0.883454655720153