εa, εs are error estimate
and tolerance, based on idea that small changes in x mean
algorithm is getting close to a zero.
But that’s not necessarily true:
You can also run Newton’s method until the f(x) values
are very small, although that isn’t guaranteed either.
Moral: Newton’s method works very well in most cases,
but you need to be sensitive to how you detect convergence
and it might not work at all for some starting values on some
functions