Function Reference

ASin

Calculates the arcsine of a number.

ASin ( expression )

 

Parameters

expression Any value between -1 and 1 (inclusive).

 

Return Value

Returns the trigonometric arcsine of expression. Result is in radians.

 

Remarks

ASin(x) is mathematically defined only for -1 < x < 1, so ASin tends to return -1.#IND for other values of x.

 

Related

Sin, Cos, Tan, ACos, ATan

 

Example


$x = ASin(0.5)

$pi = 3.14159265358979
$radToDeg = 180 / $pi
$y = ASin(1) * $radToDeg  ;arcsine of 1 returns 90░