ASIN()

Compatible with:
DOS Maximite CMM MM150 MM170 MM+ MMX Picromite ArmiteL4 Armite F4 ArmiteH7 CMM2

Syntax:
ASIN( number )

Description:
Returns the inverse sine value of the argument 'number' in radians.

y = RAD(30) ' convert degrees to radians
PRINT "y= ";y
x = SIN(y)
PRINT "x= ";x
r = ASIN(x)
PRINT "r= ";r
z = DEG(r)  ' convert radians to degrees
PRINT "z= ";z

output:
y=  0.5235987756
x=  0.5
r=  0.5235987756
z=  30

If your system doesn't have ASIN()

FUNCTION ASIN(x)
 ' angle in radians
 ASIN=2*ATN(x/(1+SQR(1-x*x)))
END FUNCTION

Last edited: 29 September, 2020