Define the initial approximations.
Evaluate f1, f2, ∂x∂f1, ∂y∂f1, ∂x∂f2, ∂y∂f2.
Find Δx and Δy:
ΔxΔy==−f1(xi,yi)−f2(xi,yi)∂x∂f1xi,yi∂x∂f2xi,yi∂y∂f1xi,yi∂y∂f2xi,yi∂y∂f1xi,yi∂y∂f2xi,yi∂x∂f1xi,yi∂x∂f2xi,yi∂x∂f1xi,yi∂x∂f2xi,yi−f1(xi,yi)−f2(xi,yi)∂y∂f1xi,yi∂y∂f2xi,yi==∂x∂f1∂y∂f2−∂x∂f2∂y∂f1−f1∂y∂f2+f2∂y∂f1∂x∂f1∂y∂f2−∂x∂f2∂y∂f1−f2∂x∂f1+f1∂x∂f2 Solve for xi+1 and yi+1 in Δx and Δy:
ΔxΔy=xi+1−xi=yi+1−yi Calculate the relative error, if it’s sufficiently small, the calculation stops, otherwise, continue:
ep=∣xi+1xi+1−xi∣×100