MySQL ASIN() function
ASIN() function
MySQL ASIN() returns the arc sine of a number. The function returns NULL when the value of the number is not between the ranges -1 to 1.
Syntax:
ASIN(N)
Argument:
Name | Description |
---|---|
N | A number whose arch sine value is to be retrieved. |
Syntax Diagram:

MySQL Version: 5.6
Example:
Code:
SELECT ASIN(4);
Explanation:
The above MySQL statement will return NULL because the number specified as an argument is exceeding the range which can be accepted.
Sample Output:
mysql> SELECT ASIN(4); +---------+ | ASIN(4) | +---------+ | NULL | +---------+ 1 row in set (0.02 sec)
Example: ASIN() function using fractional number
Code:
SELECT ASIN(.4);
Explanation:
The above MySQL statement will return the sine value of the number specified as an argument.
Sample Output:
mysql> SELECT ASIN(.4); +-------------------+ | ASIN(.4) | +-------------------+ | 0.411516846067488 | +-------------------+ 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