C# - Math Asinh() Function
The C# Math Asinh() function is used to return inverse hyperbolic sine of a value. The hyperbolic sine of x is defined as:
In special cases it returns the following:
- If the argument is NaN, the method returns NaN.
Syntax
public static double Asinh (double x);
Parameters
x |
Specify the value. |
Return Value
Returns the inverse hyperbolic sine of a value.
Example:
In the below example, Asinh() function is used to find out the inverse hyperbolic sine of a value.
using System; class MyProgram { static void Main(string[] args) { Console.WriteLine(Math.Asinh(0)); Console.WriteLine(Math.Asinh(2)); Console.WriteLine(Math.Asinh(4)); } }
The output of the above code will be:
0 1.4436354751788103 2.0947125472611012
❮ C# Math Methods