function asin

Returns the arcus sine of its argument, which can be either real, complex or a matrix. The returned value's type is changed to complex if necessary (when the absolute value of the argument is greater than 1). By default, the returned value is in radians. This can be changed by specifying the switch /deg.

Syntax
result = asin(X [, /deg])

Arguments
X:   a number (integer, real, complex) or a matrix, specifying the sine of the angle to be returned. If X is a matrix, a matrix of the same size is returned where each element represents the result of the operation.


Switches
/deg:   The result will be in degrees


Examples
To find the angle (in degrees) whose sine is 0.5, type:
   print asin(0.5, /deg)

See also
function acos
function atan
category index: trigonometry