MySQL SIN() function
SIN() function
MySQL SIN() returns the sine of the argument. The argument is given in radians.
Syntax:
SIN(X);
Argument:
Name | Description |
---|---|
X | A number whose SIN value is to be retrieved. |
Syntax Diagram:

MySQL Version: 5.6
Pictorial presentation of MySQL SIN() function
Example of MySQL SIN() function
Code:
SELECT SIN(1);
Explanation:
The above MySQL statement will return the sine of 1.
Sample Output:
mysql> SELECT SIN(1); +-------------------+ | SIN(1) | +-------------------+ | 0.841470984807897 | +-------------------+ 1 row in set (0.01 sec)
All Mathematical Functions
- Weekly Trends
- Java Basic Programming Exercises
- SQL Subqueries
- Adventureworks Database Exercises
- C# Sharp Basic Exercises
- SQL COUNT() with distinct
- JavaScript String Exercises
- JavaScript HTML Form Validation
- Java Collection Exercises
- SQL COUNT() function
- SQL Inner Join
- JavaScript functions Exercises
- Python Tutorial
- Python Array Exercises
- SQL Cross Join
- C# Sharp Array Exercises
We are closing our Disqus commenting system for some maintenanace issues. You may write to us at reach[at]yahoo[dot]com or visit us at Facebook