System Functions
ASN( ) Returns Arc-Sine Function
 
Format ASN(num[,ERR=stmtref])
 
Where:
 
num Numeric expression (range: -1 to +1) whose ARC-Sine is to be returned.
 
stmtref Program line number or statement label to which to transfer control.
 
Returns Numeric value, range -ð/2 to +ð/2.
 
Description The ASN( ) function returns the Arc-Sine of the given numeric expression num. The function returns a value between -ð (negative pi) divided by 2 and +ð (+pi) divided by 2, rounded to the current PRECISION in effect. This is the inverse of the SIN( ) function.
 
If num is not in the range -1 to +1 inclusive, the result will be:
 
Error #40: Divide check or numeric overflow
 
Examples 0060 FOR I=-1 TO 1 STEP .1
0070 PRINT ASN(I),
0080 NEXT
0090 PRINT "DONE"
0100 END
-:run
-1.57-1.12-0.93-0.78-0.64-0.52-0.41-0.3-0.2-0.1 0 0.1 0.2 0.3 0.41 0.52
0.64 0.7 8 0.93 1.12 1.57 DONE