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
- New Content published on w3resource:
- HTML-CSS Practical: Exercises, Practice, Solution
- Java Regular Expression: Exercises, Practice, Solution
- Scala Programming Exercises, Practice, Solution
- Python Itertools exercises
- Python Numpy exercises
- Python GeoPy Package exercises
- Python Pandas exercises
- Python nltk exercises
- Python BeautifulSoup exercises
- Form Template
- Composer - PHP Package Manager
- PHPUnit - PHP Testing
- Laravel - PHP Framework
- Angular - JavaScript Framework
- Vue - JavaScript Framework
- Jest - JavaScript Testing Framework