Math class: Square root, absolute value, Pi and Power
Imports System.IO
Module Module1
Sub Main()
Console.WriteLine("Absolute value of -1 is " & Math.Abs(-1))
Console.WriteLine("Square Root of 144 is " & Math.Sqrt(144))
Console.WriteLine("Value for PI is " & Math.PI)
Console.WriteLine("10 raised to the power of 2 is " & Math.Pow(10, 2))
End Sub
End Module
Related examples in the same category