asin

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
the asin of <number>
asin(<number>)
Summary

Returns the arc sine of a number in radians.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
number

A number between -1 and 1, or an expression that evaluates to such a number.

Example
the asin of .225
sin(asin(.5))
asin(pi/4 - sin(myAngle))
Values
NameTypeDescription
return

The asin function returns a number between -pi/2 and pi/2.

The result

The result of the asin function is returned in radians. To get this result in degrees, use the following custom function:

function asinInDegrees pMagnitude
    return asin(pMagnitude) * 180 / pi
end asinInDegrees
RelatedKeyword: inverse
Constant: pi
Function: sin
Control Structure: function
Glossary: radian, custom function, return, degree, math operation
Description

Use the asin function to find the arc sine of a number.

The arc sine of number is an angle whose sine is equal to number. In other words, asin is an inverse of the sin function.

If a math operation on finite inputs produces a non-finite output, an execution error is thrown. See math operations for more information.

Tagsmath