Description
Calculates the arc sine of an angle.
Syntax
ASin ( n )
Argument |
Description |
---|---|
n |
The ratio of the lengths of two sides of a triangle for which you want a corresponding angle (in radians). The ratio must be a value between -1 and 1. |
Return value
Double. Returns the arc sine of n if it succeeds.
Examples
This expression returns .999998 (rounded to six places):
ASin(.84147)
This expression returns .520311 (rounded to six places):
ASin(LogTen (Pi (1)))
This expression returns 0:
ASin(0)
See also
ASin in the section called “ASin” in PowerScript Reference