Double - Sinh
Returns the hyperbolic sine of the specified angle.
public static void Main() { double[] doubles = { 0, 45, 90, 180 }; foreach (double value in doubles) { double radians = (value * (Math.PI)) / 180; // C# Extension Method: Double - Sinh Console.WriteLine("Sinh({0}) = {1}", value, radians.Sinh()); } }
View Source
using System; public static partial class Extensions { /// <summary> /// Returns the hyperbolic sine of the specified angle. /// </summary> /// <param name="value">An angle, measured in radians.</param> /// <returns>The hyperbolic sine of . If is equal to , , or , this method returns a equal to .</returns> public static Double Sinh(this Double value) { return Math.Sinh(value); } }