# C# | Math.Sinh() Method

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:

 // 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:

 // C# praogram 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

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

Article Tags :

Be the First to upvote.

Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.