結果 : secant method code in python