Q2 (a) Construct divided difference table
f(-1) = 3, f(0) = - 6 f(3) = 39 , f(6) = 822 , f(7) = 1611
(b) Find the Lagrange interpolating polynomial of degree 2 approximating the function y = ln(x) and determine the value of In 2.7 and also calculate absolute error.
X Y = Lnx
2 0.69315
2.5 0.91629
3 1.09861