C# Tutorial C# Advanced C# Resources
Python Java C++ C C# PHP R SQL DS Algo InterviewQ

C# - Math Asinh() Function



The C# Math Asinh() function returns inverse hyperbolic sine of a value. The inverse hyperbolic sine of x is defined as:

Asinh

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 example below, 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

5