Polynomial Interpolation - Maple Programming Help

Polynomial Interpolation

 Description Calculate the interpolated polynomial of specified data points. This produces a polynomial of degree n, where n is one less than the number of data points.

Enter a list of data points.

 > $\left[\left[{-5}{,}{5}\right]{,}\left[{0}{,}{2}\right]{,}\left[{4}{,}{0}\right]\right]$
 $\left[\left[{-}{5}{,}{5}\right]{,}\left[{0}{,}{2}\right]{,}\left[{4}{,}{0}\right]\right]$ (1)

Specify the independent variable, and then calculate the interpolated polynomial.

 > $p:=\mathrm{CurveFitting}\left[\mathrm{PolynomialInterpolation}\right]\left(,{x}\right)$
 ${p}{:=}\frac{{1}}{{90}}{}{{x}}^{{2}}{-}\frac{{49}}{{90}}{}{x}{+}{2}$ (2)
 Commands Used