MathF.Sinh() Method in C# with Examples
Math.Sinh(Single) Method is the inbuilt MathF class method which returns the hyperbolic sine of a given single value argument.
Syntax: public static float Sinh (float x);
Here, x is the number whose hyperbolic sine is to be returned and type of this parameter is System.Single.
Return Value: This method returns the hyperbolic sine of x of type System.Single. If x is equal to NegativeInfinity or PositiveInfinity, PositiveInfinity is returned. If x is equal to NaN, NaN is returned.
Below programs illustrate the use of the above-discussed method:
The Sinh of num1 = 1.746714E+19 The Sinh of num2 = 0 The Sinh of num3 = 1.175201
Sinh(1.047198) will be 1.249367 Sinh(NaN) will be NaN Sinh(-Infinity) will be -Infinity Sinh(Infinity) will be Infinity