結果 : write a python code for bisection method