How to calculate the square root?