Math.Tanh Function in VB.NET

What is Math.Tanh function in VB.NET?

Explanation

Math.Tanh Function

Math.Tanh in Visual Basic.net is a mathematical function used to find the hyperbolic tangent value for the given angle. If the angle is
Syntax:

Math.Tanh(Value)

In the above syntax Value specifies the angle to return the hyperbolic tangent value.
Example:

Module Module1
Sub Main()
Console.WriteLine("The hyperbolic tangent value of 1 is::" & Math.Tanh(1))
Console.WriteLine("The hyperbolic tangent value of 0 is::" & Math.Tanh(0))
Console.ReadLine()
End Sub
End Module
Result:

The Arc tangent value of 1 is::0.761594155955765
The Arc tangent value of 0 is::0

In the above example, the Math.Tanh mathematical function is used to get the hyperbolic tangent of '1','0'.

Visual Basic Tutorial


Ask Questions

Ask Question