Math. Cos and Sin : Math « Development « VB.Net Tutorial






Public Class Tester
    Public Shared Sub Main
        Dim X As Single
        Dim Y As Single

        X = CSng( Math.Cos(100))
        Y = CSng( Math.Sin(100))

        Console.WriteLine(X)
        Console.WriteLine(Y)
        
    End Sub

End Class
0.8623189
-0.5063657








7.15.Math
7.15.1.Math.Sqrt and Atan2
7.15.2.Math. Cos and Sin
7.15.3.Convert rectangular 3D coordinates to cylindrical coordinates.
7.15.4.Generating random integers.
7.15.5.Math.Round
7.15.6.Randomize
7.15.7.This example demonstrates Math.Max()
7.15.8.Use the Min method to return and display the smaller of two Single variables.