Microsoft‘s bug gives Sqrt(4)-2 !=0 in Windows 8‘s calculator.
Mathematically, square root of 4 is 2. So square root of 4 minus 2 is equal to 2-2 is equal to zero. But there is bug in Microsoft‘s calculator, which gives a non-zero result, which is tends to zero for this expression. If you want to check this out, then follow the steps below.
1. Open Start Menu by pressing the Windows button. Now type Calculator and the
Calculator will appear in the search result.
2. Now switch to Scientific Mode to enable the square root, if it is not enabled. Type the expression
Sqrt(4)-2 in the space.
3. Now click on the “=” button to see the result. You will be surprised by the result.
You must be surprised, isn’t? This also happens in other versions of Windows. Another thing, you must have noticed that, sqrt(4) gives 2 in the same calculator. The actual result is -8.1648465955514287168521180122928e-39 which is scientific notation for -8.1648465955514287168521180122928 × (10)(-39) or -0.0000000000000000000000000000000000000081648465955514287168521180122928. This result is for handling floating point decimals. So, though it looks like surprising, actually it is not and the answer is absolutely right according to the algorithm of the program.