結果 : roots of arbitrary function in python