Math.Cosh Function in VB.NET
What is the use of math.cosh() mathematical function in VB.NET?
Explanation
Math.cosh Function
Math.cosh() Mathematical Function in Visual Basic.net 2008 is used to find the hyperbolic Cosine value for the
given angle.If the given angle is positive or negative infinity returns a positive infinity value. If the angle is
'NaN' returns the same.
Syntax:
Math.cosh(Value)
In the above syntax
Value specifies the angle to return the hyperbolic cosine value.
Example:
Module Module1
Sub Main()
Console.WriteLine("The hyperbolic cosine value of 0
is:" & Math.Cosh(0))
Console.WriteLine("The hyperbolic cosine value of 1
is:" & Math.Cosh(1))
Console.ReadLine()
End Sub
End Module
Result:
The hyperbolic cosine value of 0 is:1
The hyperbolic cosine value of 1 is:1.54308063481524
In the above example, the
Math.cosh() mathematical function is used to get the hyperbolic cosine value of '0','1'.