Newton's method for square roots (example code)