ASN
Arc Sine
This numeric function returns the arc sine of an angle in radians.
Syntax
Section titled “Syntax”ASN (numeric-value [,ERR=line-ref|,ERC=error-code])numeric-value- is any valid number from -1.0 through +1.0.
line-ref- is the program line number or label to branch to if an error is produced by this function.
error-code- is a programmer-defined error code. Valid values are positive or negative whole numbers.
Remarks
Section titled “Remarks”This function returns a number that ranges from -1.57 through +1.57 (-Pi/2 to +Pi/2).
Note that ASN and SIN are reverse functions; that is:
ASN (SIN(x))=xSIN (ASN(x))=xIf numeric-value exceeds the range indicated, an ERR=40 results.
Examples
Section titled “Examples”ASN (0)The result is 0.
ASN (1)The result is 1.57 (i.e., Pi/2).
ASN (-1)The result is -1.57 (i.e., -Pi/2).
These examples assume PRECISION 2.
See also
Section titled “See also”SIN function
From the Thoroughbred Basic Language Reference, Volume I: A–E, version 8.9.1. Open this page in the PDF