Returns the angle whose sine is the specified floating point number
Class: Mathematical
Parameters: @d – A number representing a sine where -1 ≤@d≤ 1
Syntax: @returnValue=@asin(@d)
Returns: An angle, Θ, measured in radians
Remarks: Multiply the return value by 180/∏ to convert from radians to degrees
Example:
//Example for the mathematical @asin method
@d=0.765 //Set sine value
@result_rad=@asin(@d) //Calculate result in radians (= 0.871841)
@result_deg=@result_rad*(180/@pi()) //Convert radians to degrees (= 49.907)
message(“Angle in radians is “ + @result_rad + “ and in degrees is “ + @result_deg) //Display results message