>> secant iteration a b m f(m) 1 1.00000 2.00000 1.16667 -5.79e-01 2 2.00000 1.16667 1.25311 -2.85e-01 3 1.16667 1.25311 1.33721 5.39e-02 4 1.25311 1.33721 1.32385 -3.70e-03 5 1.33721 1.32385 1.32471 -4.27e-05 6 1.32385 1.32471 1.32472 3.46e-08 Converged: The function tolerance is satisfied. >> diary