Asin

From Xojo Documentation
Jump to: navigation, search
Method

Asin(Double) As Double

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(0.5) // returns 0.5235988
d = Asin(0.5) * 180 / Pi // returns 30

See Also

Sin function, Xojo.Math.ASin

Personal tools
Namespaces

Variants
Actions
Main
Content
Starting Out
Dig Deeper
More Help
Toolbox
About