C# Math Asin
Description
Math Asin
returns the angle whose sine is the specified
number.
Syntax
Math.Asin
has the following syntax.
public static double Asin(
double d
)
Parameters
Math.Asin
has the following parameters.
d
- A number representing a sine, where d must be greater than or equal to -1, but less than or equal to 1.
Returns
Math.Asin
method returns An angle measured in radians.
Example
The following code shows how to use Math.Asin method.
using System;/*from ww w . j a va 2 s. co m*/
public class MainClass{
public static void Main(String[] argv){
System.Console.WriteLine(Math.Asin(0.5));
}
}
The code above generates the following result.