Newton(f, f', guess, MAX_ITERATIONS) iterationCount = 0 x = guess while (|f(x)| > ε and iterationCount < MAX_ITERATIONS) xOld = x x = xOld - f(xOld)/f'(xOld) iterations++