ASIN(a)
Returns the arcsine of a.
Parameters
a(REAL)
The input value.
Return Value
Returns a REAL in radians.
Remarks
Notice that the return value is in radians. To convert a value from radians to degrees, multiply the radians value by 180/π. The RMC has an M_PI constant for π. For a < 1.0 or a > 1.0, the task will fault. An error will be logged in the Event Log and the user program running on the task will stop.
Examples
ASIN(0.5) returns 0.5235988
ASIN(0.5) * 180 / M_PI returns 30.0
See Also
SIN Function | ACOS Function | ATAN Function | Standard Functions
Copyright © 2024 Delta Computer Systems, Inc. dba Delta Motion