Week 6: Secant method, error analysis of iterative method