working out the solution using convergence