Findroot Python, polynomial is preferred.