asin function

The asin function returns the arc sine of x as a value between -pi/2 and pi/2 radians.
Arguments
1
Argument Description
x A number.
Return value
  • The arcsine (in radians) of the given number, if it is between -1 and 1.
  • NaN, otherwise.
Syntax
Math.asin(x)
Examples
Example Result
var Num = DLSYS["U012-FICA-5625-C/DIFF.CV"];
this.Label = Math.asin(Num);
Returns "0.523...".
This script calculates the angle of a right-angle triangle, in radians:
function calcAngle(opposite, hypotenuse) {
  return Math.asin(opposite / hypotenuse);
}
Dsp.Text1.Label = calcAngle(6, 10);
Returns "0.6435011087932844".