Find Python Root Function Graphs Linear