import numpy as np from sympy import * from matplotlib import pyplot as plt def newton(x): n = x.shape[1] c = np.zeros(