Equinox Online Help - Language Reference - A to Z

Home

Asin

Applies to
SyntaxAsin (NumberExpression)
Action[Function] Returns the arcsine of an angle.
ScopeUsable anywhere.
Notes

This function returns the arcsine of the argument, NumberExpression. Note that NumberExpression is an angle and Equinox requires that you should express it in radians rather than degrees (360º = 2p * radians). You may use the Rad function to convert degrees to radians.

CategoryMaths
See Also Abs, Acos, Asin, Atan, Cos, Deg, Int, Log, Max, Min, MinMax, Rad, Rnd, RndStart, Round, Sign, Sin, Sqrt, Tan
Example

This example calculates the angle A from the opposite side and hypotenuse in a right-angled triangle.

number Angle, opposite, hypotenuse

|...

Angle = Deg(Asin(opposite / hypotenuse))