Returns the hyperbolic sine of the specified double that represents an angle.
- value
- A double containing the value of an angle measured in radians.
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.
Note: Multiply by pi/180 to convert degrees to radians.
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
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0