hump_secant2 hump_secant2 Use the secant method to search for a root of the hump function. F(1) = 16 F(2) = -4.85517 2: Estimated convergence rate = -1.37028 3: Estimated convergence rate = -0.189851 4: Estimated convergence rate = 3.41236 5: Estimated convergence rate = 0.375815 6: Estimated convergence rate = 1.68712 7: Estimated convergence rate = 0.895084 8: Estimated convergence rate = 3.05508 9: Estimated convergence rate = 0.995323 10: Estimated convergence rate = 1.95087 11: Estimated convergence rate = 1.53682 After 11 iterations: F(1.29955) = -2.67431e-12 it <= itmax? true |a-b| <= xtol? true |f(b)| <= ftol? true diary kepler_secant2.txt