ASIN() - Arcsine Trigonometric Value

Q

How to calculate the arcsine value of a given value using the ASIN() function?

✍: FYIcenter.com

A

ASIN(X) is a MySQL built-in function that calculates the arcsine value of a given value. For example:

SELECT ASIN(0), ASIN(1), ASIN(2);
  -- +---------+--------------------+---------+
  -- | ASIN(0) | ASIN(1)            | ASIN(2) |
  -- +---------+--------------------+---------+
  -- |       0 | 1.5707963267948966 |    NULL |
  -- +---------+--------------------+---------+

Reference information of the ASIN() function:

ASIN(X): val
  Returns the arc sine of X, that is, the value whose sine is X.
  Returns NULL if X is not in the range -1 to 1.

Arguments, return value and availability:
  X: Required. The input value.
  val: Return value. The arcsine value of the input value.
  Available since MySQL 4.0.

Related MySQL functions:

 

ATAN() - Arctangent Trigonometric Value

ACOS() - Arccosine Trigonometric Value

MySQL Functions on Numeric Values

⇑⇑ MySQL Function References

2023-11-15, 243🔥, 0💬