ASin Function | |
Returns in radians the arc sine of a numeric expression.
Namespace:
XSharp.RT
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax FUNCTION ASin(
nExpression AS USUAL
) AS FLOAT
public static Float ASin(
Usual nExpression
)
Request Example
View SourceParameters
- nExpression
- Type: Usual
Specifies the numeric expression whose arc sine ASIN( ) returns. The value of nExpression can range from +1 through –1, and the value ASIN( ) returns can range from –pi/2 through +pi/2 ( –1.57079 to 1.57079). The number of decimal places in the display of the result can be specified with SET DECIMALS.
Return Value
Type:
Float
Numeric
Remarks
Use RTOD( ) to convert radians to degrees.
Examples
1CLEAR
2? RTOD(ASIN(0))
3STORE 1 to gnArcAngle
4? RTOD(ASIN(gnArcAngle))
5? RTOD(ASIN(SQRT(2)/2))
See Also