Programming, Algorithms, Mathematics, Python.
result, and e₁ is the error in the guess. This error could be big if we made a poor guess, or it could be tiny, in case of a good guess. If we are very lucky and our guess is perfect, the error will be zero. We can rearrange this equation in the following way, Now, if our first guess, x₁ is