This tutorial explains how to use the MySQL ASIN function with syntax and examples.
The MySQL ASIN function returns the arc sine of a number.
The syntax for the ASIN function in MySQL is:
ASIN( number )
The number used to calculate the arc sine.
The ASIN function can be used in the following versions of MySQL:
Let's look at some MySQL ASIN function examples and explore how to use the ASIN function in MySQL.
For example:
mysql> SELECT ASIN(0.75);
Output: 0.848062078981481
mysql> SELECT ASIN(0.2);
Output: 0.2013579207903308
mysql> SELECT ASIN(-0.9);
Output: -1.1197695149986342
mysql> SELECT ASIN(2);
Output: NULL