Mono Class Library: System.Math Overview | Members

System.Math.Sinh Method

Returns the hyperbolic sine of the specified double that represents an angle. [Edit]

public static double Sinh (double value)

Parameters

value
A double containing the value of an angle measured in radians. [Edit]

Returns

A double containing the value of the hyperbolic sine of value. If value is equal to double.NegativeInfinity, double.PositiveInfinity, or double.NaN, returns a double equal to value. [Edit]

Remarks

Note: Multiply by pi/180 to convert degrees to radians.
[Edit]

Example

The following example demonstrates using the Math.Sinh(double) method.

C# Example
using System;

public class MathSinhExample
{

   public static void Main()
   {

      Double d1 = Math.Sinh(0);
      Double d2 = Math.Sinh(Math.PI);
      Console.WriteLine("Math.Sinh(0) returns {0}", d1);
      Console.WriteLine("Math.Sinh(Math.PI) returns {0}", d2);

   }

}

The output is

Math.Sinh(0) returns 0
Math.Sinh(Math.PI) returns 11.5487393572577

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0