ASin
(Engine-Level Function)
Description: | Returns the trigonometric arc sine in radians. |
Returns: | Numeric |
Usage: | Script or steady state. |
Function Groups: | Trigonometric Math |
Related to: | ACos | ATan | Cos | Sin | Tan |
Format: | ASin(X) |
Parameters: |
X |
Required. Any numeric expression in the range -1 to +1. |
Comments: |
The returned angle is in radians. To convert an angle from radians to degrees, divide by \pi/ 180 or (approximately) 0.0174533. (\pi is a defined constant in VTScada.) |
Example:
radAngle = ASin(1); degAngle = radAngle / \pi / 180;
The value of degAngle will be 90.