C# - Math.Sinh() Method with Example

In this tutorial, we will learn about the C# Math.Sinh() method with its definition, usage, syntax, and example. By Nidhi Last updated : March 29, 2023

C# Math.Sinh() Method

The Math.Sinh() method is used to return the hyperbolic Sine of a specified angle.

Syntax

double Math.Sinh(double angle);

Parameter(s)

  • angle : Given angle, for this we got hyperbolic sine value.

Return Value

It returns hyperbolic sine of specified angle.

C# Example of Math.Sinh() Method

The source code to demonstrate the use of Sinh() method of Math class is given below. The given program is compiled and executed successfully.

using System;

class Sample {
  //Entry point of Program
  static public void Main() {
    double HyperSine = 0.0;

    HyperSine = Math.Sinh(0.7);
    System.Console.WriteLine("Hyperbolic sine of 0.7 is : " + HyperSine);
  }
}

Output

Hyperbolic sine of 0.7 is : 0.758583701839534
Press any key to continue . . .

C# Math Class Programs »

Comments and Discussions!

Load comments ↻





Copyright © 2024 www.includehelp.com. All rights reserved.