asin

Synopsis

$ asin(n)

Calculate the arc sine of the argument. (answer in radians)

Parameters

n - the value (converted to a double) to apply this function to.

Returns

A double scalar.

Examples

$value = asin(0.5); println("arcsine of 0.5 is $value radians"); $value = degrees(asin(0.5)); println("arcsine of 0.5 is $value degrees");

arcsine of 0.5 is 0.5235987755982989 radians arcsine of 0.5 is 30.000000000000004 degrees

See Also