Find Python Root Function Graphs Domain