-newton's-method for solving equations