結果 : secant method implementation in python