Asin

From Real Software Documentation

Jump to: navigation, search

     

Method

Returns the arcsine of the value specified.


Syntax

result = Asin(value)

Part Type Description
result Double The arc sine of value.
value Double The value you want the arc sine of. Value is the Sin of the angle you want and must be between -1 and 1.

Notes

The arcsine is the angle whose sine is value. The Asin function returns the angle (in radians) of the sine passed to it. To express the arcsine in degrees, multiply the result by 180/PI.


Examples

This example uses the Asin function to return the arcsine of a number.

Dim d as Double
Const PI = 3.14159265358979323846264338327950
d = Asin(.5) //returns 0.5235988
d = Asin(.5)*180/PI //returns 30


See Also

Sin function.

Personal tools