Published Mar 28, 2023
Contribute to Docs

The Math.Sinh() class method returns the hyperbolic sine of a given angle.



The Math.Sinh() method takes only one parameter: an angle in radians of type double. The method returns the hyperbolic sine of the angle as a double value, except if the value of angle equals:

  • NaN (not a number), then it returns NaN.
  • NegativeInfinity, then it returns NegativeInfinity.
  • PositiveInfinity, then it returns PositiveInfinity.

Note: Depending on the operating system or architecture, the exact result or the input range of the Math.Sinh() method may differ due to the differences in the C runtime environment.


The following example first converts 88 degrees to radians, then uses the Math.Sinh() method to return the hyperbolic sine of that angle. Math.Round() rounds up the result to five decimals. Finally, the Console.WriteLine() function prints the result to the console:

using System;
public class Example {
public static void Main(string[] args) {
double degrees = 88;
double radians = degrees * Math.PI/180;
double hyperbolicSine = Math.Round(Math.Sinh(radians), 5);
Console.WriteLine("The hyperbolic sine of " + degrees + " degrees is: " + hyperbolicSine);

The example will result in the following output:

The hyperbolic sine of 88 degrees is: 2.2151

Codebyte Example

The following example is runnable and returns the hyperbolic sine of the angle given in degrees:

Visit us
Hide code
Hide output
Hide output

All contributors

Looking to contribute?

Learn C# on Codecademy