# C# | Math.Sinh() Method

Last Updated : 26 Oct, 2021

Math.Sinh() is the inbuilt Math class method which returns the hyperbolic sine of a given double value argument(specified angle).
Syntax:

`public static double Sinh(double num)`

Parameters:

num: It is the number whose hyperbolic sine is to be returned and type of this parameter is System.Double.

Return Value: The method returns the hyperbolic Sine of num of type System.Double. If num is equal to NegativeInfinity, PositiveInfinity, or NaN, this method returns a Double equal to num.

```Input  : num = 60.0
Output : 5.71003695E25```

Below programs illustrate the Math.Sinh method:
Program 1:

## Csharp

 `// C# program to illustrate the` `// Math.Sinh()` `using` `System;`   `class` `GFG {`   `    ``// Main Method` `    ``public` `static` `void` `Main(String[] args)` `    ``{`   `        ``double` `num1 = 78.8, num2 = 0.0, num3 = 1.0;`   `        ``// It returns the hyperbolic sine of specified ` `        ``// angle in radian` `        ``double` `sinhvalue = Math.Sinh(num1);` `        ``Console.WriteLine(``"The sinh of num1 = "` `+ sinhvalue);`   `        ``sinhvalue = Math.Sinh(num2);` `        ``Console.WriteLine(``"The sinh of num2 = "` `+ sinhvalue);`   `        ``sinhvalue = Math.Sinh(num3);` `        ``Console.WriteLine(``"The sinh of num3 = "` `+ sinhvalue);` `    ``}` `}`

Output:

```The sinh of num1 = 8.34401696285252E+33
The sinh of num2 = 0
The sinh of num3 = 1.1752011936438```

Program 2:

## Csharp

 `// C# program to illustrate the` `// Math.Sinh() Method` `using` `System;`   `class` `GFG {`   `    ``// Main Method` `    ``public` `static` `void` `Main(String[] args)` `    ``{`   `        ``double` `num1 = (30 * (Math.PI)) / 180, num2 = 11.0, num3 = 45.0;`   `        ``// It returns the hyperbolic sine of ` `        ``// angle in radian` `        ``double` `sinhvalue = Math.Sinh(num1);` `        ``Console.WriteLine(``"The sinh of num1 = "` `+ sinhvalue);`   `        ``sinhvalue = Math.Sinh(num2);` `        ``Console.WriteLine(``"The sinh of num2 = "` `+ sinhvalue);`   `        ``sinhvalue = Math.Sinh(num3);` `        ``Console.WriteLine(``"The sinh of num3 = "` `+ sinhvalue);` `    ``}` `}`

Output:

```The sinh of num1 = 0.54785347388804
The sinh of num2 = 29937.0708492481
The sinh of num3 = 1.74671355287425E+19```

Previous Article
Next Article
Article Tags :