Uber Interview Question

How would you calculate the square root of x without using the square root function?