Secant method implemented