結果 : root finding algorithm in python