I understand the mathematics behind this and could easily do this by hand, but I'm complete noob when it comes to Matlab.

I need to write a Matlab-function interpol.m that will return the interpolation polynomial in Newton form for and

Then I have to write a program interpol_plot.m to plot f(x) and for n=3, n=5, and n=10, and then test this on .