3.5.1.2.12 Asin

Contents

Description

The asin(x) function returns the inverse of the corresponding trigonometric function. x must be within -1 and 1 for asin , or a missing value is returned. Returned values are in radians, degrees or gradians, depending upon (which can also be set in ).

Syntax

double asin(double x)

Parameter

x

must be in [-1,1].

Return

Returns the arcsine of x.

Example

aa = asin(0.5);
aa = ; //should return 0.5235987755983

See Also

, , , , , ,