extracting the square root