Reference Guide > A Routines > ASIN Function
  

ASIN Function
Returns the arcsine of x.
enabled.
Usage
result = ASIN(x)
Input Parameters
x—The sine of the desired angle. Cannot be a complex data type and must be in the range of (– 1 x 1).
Returned Value
result—The arcsine of x.
Keywords
None.
Discussion
The inverse sine function, or arcsine, denoted by sin–1, is defined by:
y = sin– 1x
if and only if:
sin y = x
where:
–1  x  1  and  π / 2  y π /2
The parameter x can be an array, with the result having the same data type as x, where each element contains the arcsine of the corresponding element from x.
When x is of double-precision floating-point data type, the result is of the same type. All other data types are converted to single-precision floating-point and yield a floating-point result. The result is an angle, expressed in radians, whose sine is x.
Values generated by ASIN range between –π/2 and π/2.
Example
x = ASIN(0)
PRINT, x
; PV-WAVE prints: 0
See Also
alibAsin

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.