w3resource

Oracle SIN() function

Description

The SIN() function is used to get the sine of n (an angle expressed in radians).
The function takes any numeric or nonnumeric data type (can be implicitly converted to a numeric data type) as an argument.
If the argument is BINARY_FLOAT, then the function returns BINARY_DOUBLE. Otherwise, the function returns the same numeric data type as the argument.

Uses of Oracle SIN() Function
  • Calculate the sine of an angle: Obtain the sine value of an angle expressed in radians.

  • Trigonometric computations: Perform trigonometric calculations in various mathematical and engineering applications.

  • Graphing functions: Generate sine wave graphs and other related trigonometric functions.

  • Signal processing: Analyze and process signals that involve sine waves.

  • Scientific research: Conduct research in fields like physics and engineering where sine calculations are necessary.

Syntax:

SIN(n)

Parameters:

Name Description
n A number whose SIN value is to be retrieved.

Pictorial Presentation of SIN() function

Pictorial Presentation of Oracle SIN() function

Example:

SELECT SIN(1) FROM dual;

Here is the result.

    SIN(1)
----------
.841470985

The above statement will return the sine of 1.

Previous: SIGN
Next: SINH



Become a Patron!

Follow us on Facebook and Twitter for latest update.

It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.

https://www.w3resource.com/oracle/oracle-numeric-functions/oracle-sin-function.php