結果 : code for bisection method