How can I be able to setup a mathematica code using a Vandermonde matrix? We had to plot the interpolated polynomial and regular polynomial. I had this but we aren't supposed to use the built-in interpolating polynomial function:
P = f[x_] = 1/(1 + x^2);
IP = InterpolatingPolynomial[{-2, -1, 0, 1, 2}, P];
ipplot = Plot[IP, {x, -2, 2}];
polyplot = Plot[P, {x, -2, 2}];
