Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 279 of 909
EXAMPLE:
af[0]=ASIN(.5) 'Set array variable = ASIN(.5)
Raf[0] 'Report variable af[0]
RASIN(.5) 'Report ASIN(.5)
af[1]=0.4332
af[0]=ASIN(af[1]) 'Variables may be put in the parenthesis
Raf[0] 'Output in degrees
END
Program output is:
30.000000000
30.000000000
25.670810699
RELATED COMMANDS:
R
ACOS(value) Arccosine (see page 253)
R
ATAN(value) Arctangent (see page 282)
R
COS(value) Cosine (see page 366)
R
SIN(value) Sine (see page 700)
R
TAN(value) Tangent (see page 736)
Part 2: Commands: ASIN(value)