News

When you take the square root of 2 using the math library's sqrt function, you get a floating point approximation because it's not a perfect square and it's an irrational number.
Thanks to .NET, we were able to use PowerShell to calculate a square root. So as you can see, PowerShell makes it really easy to do math so long as you know how to tap into the .NET System.Math class.
We define i, the imaginary unit, to be that square root, and by throwing in all the other "numbers" we need to make sure that addition, subtraction, multiplication, and division still make sense ...