Newtons Method Python Codes Examples