给定一个float,求平方根,是不是可以考虑用牛顿法迭代来求,f(x) = x^2 - a;
x(n+1) = 0.5 * (x(n)+a/x(n));
收敛条件abs(x(n+1)-x(n)) < threshold