Math.Atan2 : Math « System « VB.Net by API






Math.Atan2

  

Public Class Tester
    Public Shared Sub Main
        Dim magnitude As Single
        Dim radians As Single

        magnitude = CSng(Math.Sqrt(100 ^ 2 + 120 ^ 2))
        radians = CSng(Math.Atan2(100, 123))


        Console.WriteLine(magnitude)
        Console.WriteLine(radians)
        
    End Sub

End Class

   
    
  








Related examples in the same category

1.Math.Acos
2.Math.Asin
3.Math.Atan
4.Math.Cos
5.Math.Floor
6.Math.Max
7.Math.PI
8.Math.Pow
9.Math.Round
10.Math.Sign
11.Math.Sin
12.Math.Sqrt