So my problem says:
Given the below data of polynomial P(x), determine the coefficient of all x2 in P(x) if all third-order Newton divided difference are 1
x 0 1 2
P(x) 2 -1 4
What I did was find the First and second order divided differences. I think I might have done the problem incorrectly though, because I didn't use that the third order difference is 1. I was taught that the coefficient of x2 would be the second order divided difference, so I just found that using the data points.
I got: f[x0,x1]=-3, f[x1,x2]=5, and f[x0,x1, x2]=-4
I thought 4 would be the coefficient, but the back of the book says its 3.5. Any help?