Math.Atan Function in VB.NET
What is the use of math.atan() mathematical function in VB.NET?
Explanation
Math.Atan Function
Math.Atan() Mathematical Function in VB.net 2008 is used to find the arc tangent value for the given tangent value.
Syntax:
Math.Atan(Value)
In the above syntax
Value specifies the tangent value to return the arc tangent.
Example:
Module Module1
Sub Main()
Console.WriteLine("The Arc tangent value of 1 is::
" & Math.Atan(1))
Console.WriteLine("The Arc tangent value of 0 is::
" & Math.Atan(0))
Console.ReadLine()
End Sub
End Module
Result:
The Arc tangent value of 1 is::0.785398163397448
The Arc tangent value of 0 is::0
In the above example, the
Math.Atan() mathematical function is used to get the arc tangent value of '1','0'.