Tutorialsheet 3
Tutorialsheet 3
Tutorial Sheet 3
(1) Use Newton forward difference formula to construct interpolating polynomial. Approx-
imate the specified value of each of the polynomials.
(a). f (0.25) if f (0.1) = −0.62049958, f (0.2) = −0.28398668, f (0.3) = 0.00660095, f (0.4)
= 0.24842440
(b). f ( −1
3
) if f (−0.75) = −0.07181250, f (−0.5) = −0.02475000, f (−0.25) = 0.33493750,
f (0) = 1.10100000.
(2) Use Newton backward difference formula to construct interpolating polynomial. Ap-
proximate the specified value of each of the polynomials.
(a). f (0.25) if f (0.1) = −0.62049958, f (0.2) = −0.28398668, f (0.3) = 0.00660095, f (0.4)
= 0.24842440
(b). f( −1
3
) if f (−0.75) = −0.07181250, f (−0.5) = −0.02475000, f (−0.25) = 0.33493750,
f (0) = 1.10100000.
(3) (a). Construct the interpolating polynomial of degree three for the unequally spaced
points given in the following table:
x -0.1 0.0 0.2 0.3
f (x) 5.30000 2.00000 3.19000 1.00000
(b). Add f (0.35) = 0.97260 to the table and construct the interpolating polynomial of
degree four.
Hint: Use Newton divided difference formula for unequally spaced points.
(4) (a). Approximate f (0.05) using the following data and the Newton forward difference
formula:
x 0.0 0.2 0.4 0.6 0.8
f (x) 1.00000 1.22140 1.49182 1.82212 2.22554
(b). Use the Newton backward difference formula to approximate f (0.65).
(c). Use Stirling’s formula to approximate f (0.43).
(5) Show that the polynomial interpolating the following data has degree 3.
x -2 -1 0 1 2 3
f (x) 1 4 11 16 13 -4
(6) The following data are given for a polynomial P (x) of unknown degree.
x 0 1 2
P (x) 2 -1 4
Determine the coefficient of x2 in P (x) if all third order forward difference are 1.
(7) For a function f , the forward-divided differences are given by
x0 = 0.0 f [x0 ]=?
f [x0 , x1 ] =?
50
x1 = 0.4 f [x1 ] =? f [x0 , x1 , x2 ] = 7
f [x1 , x2 ] = 10
x2 = 0.7 f [x2 ] = 6
Determine the missing entries in the table.
(8) For the given function f (x), let x0 = 0, x1 = 0.6 and x2 = 0.9. Construct interpolation
polynomials √of degree atmost one and atmost two to approximate f (0.45).
(a). f (x) = 1 + x (b). f (x) = cos x
(9) Use appropriate Lagrange interpolating polynomials to approximate each of the follow-
ing:
(a). f (8.4) if f (8.1) = 16.94410, f (8.3) = 17.56492, f (8.6) = 18.50515, f (8.7) = 18.82091.
(b). f (0.9) if f (0.6) = −0.17694460, f (0.7) = 0.01375227, f (0.8) = 0.22363362, f (1.0) =
0.65809197
(10) The following data represents the function f (x) = cos(x + 1).
x 0.0 0.2 0.4 0.6 0.8
f (x) 0.5403 0.3624 0.1700 -0.0292 -0.2272
Estimate f (0.5) using Stirling and Bessel’s interpolation formulae.
(11) The following data represents the function g(x) = sin x2
x
.
x 0.1 0.2 0.3 0.4 0.5
f (x) 9.9833 4.9667 3.2836 2.4339 1.9177
Estimate g(0.25) using Stirling and Bessel’s interpolation formulae.
(12) From the following table of values of x and y, obtain y 0 and y 00 for x = 2.0.
x 1.8 1.9 2.0 2.1 2.2
y 10.889365 12.703199 14.778112 17.148957 19.855030