.Asin()

Published Mar 15, 2023Updated Mar 17, 2023
Contribute to Docs

The Math.Asin() method computes an angle in radians whose sine is a specified number. In Math, this is known as the inverse sine function.

Syntax

Math.Asin(value);

value is the input value of type double, which must be in the range -1 <= value <= 1.

Returns an angle measured in radians, of type double, whose sine is value. If an invalid value is passed to the function, or no value is passed at all, NaN is returned.

Codebyte Example

Code
Output
Loading...

All contributors

Looking to contribute?

Learn C# on Codecademy