Professional Documents
Culture Documents
NMC Handout - 3
NMC Handout - 3
x x0 x1 x2 …….. xn
y y0 y1 y2 …….. yn
It is required to find a polynomial yn ( x) of the nth degree such that y and yn ( x) agree at the same tabular
values and to interpolate the value of y at given value of x when the function f ( x) is not known.
Newton’s Forward Interpolation Formula (NFIF):
Let the function y f ( x) take the values y0 , y1 , y2 ,.... yn corresponding to the equally spaced values
x0 , x0 h, x0 2h,...., x0 nh of x.
x0 , x0 h, x0 2h,...., x0 nh of x.
y(1) 3.1
ii) To find the tenth term, y(10) :
x xn 10 9
Here x 10, xn 9, and h 1 so that p h 1
1
y(10) 100
Example.3.1.2. Find the cubic polynomial which takes the following values:
x 0 1 2 3
f ( x)
1 2 1 10
Hence or otherwise evaluate f (4).
Solution. The difference table is give below:
2 x3 7 x2 6x 1
Put x 4, we get y(4) 2(43 ) 7(42 ) 6(4) 1 41
Interpolation with unequally spaced data:
In this section, we discuss Lagrange’s interpolation formula which is best suited for the data with
unequally spaced points.
Lagrange’s interpolation formula: Suppose y f ( x) takes the values y0 , y1 , y2 ,.... yn corresponding
to the values x0 , x1 , x2 ,...., xn respectively, then
( x x0 )( x x1)( x x2 )...( x xn 1)
...... ( xn x0 )( xn x1)( xn x2 )...( xn xn 1)
yn
Example.3.1.4. Find the polynomial f ( x) by using Lagrange’s formula and hence find f (3) for
Dept. of Freshman Engineering Page 3 of 5
x 0 1 2 5
f ( x) 2 3 12 147
Solution. Here x0 0, x1 1, x2 2, x3 5
y0 2, y1 3, y2 12, y3 147
( x 1)( x 2)( x 5) ( x 0)( x 2)( x 5) ( x 0)( x 1)( x 5) ( x 0)( x 1)( x 2)
y ( x) (0 1)(0 2)(0 5)
2
(1 0)(1 2)(1 5)
3
(2 0)(2 1)(2 5)
12
(5 0)(5 1)(5 2)
147
x3 x2 x 2
Hence f ( x) x3 x 2 x 2
Put x 3, we get f (3) 33 32 3 2 35
Exercise 3
1. The values of x and sin x are given in the following table. Determine the value of sin 380.
x 150 200 250 300 350 400
sin x 0.2588 0.3420 0.4226 0.5 0.5736 0.6428
2. Find the cubic polynomial which takes the values y(1) 24, y(3) 120, y(5) 336, y(7) 720
Hence or otherwise evaluate y (8).
d 80 85 90 95 100
A 5026 5674 6362 7088 7854
Calculate the area of a circle of diameter 105.
4. From the following table, estimate the number of students who obtained marks between 40
and 45.
Marks 30-40 40-50 50-60 60-70 70-80
No. of Students 31 42 51 35 31
5. From the following table of half-yearly premium for policies maturing at different ages,
Estimate the premium for policies maturing at age 46:
Age 45 50 55 60 65
Premium (in rupees) 114.84 96.16 83.32 74.48 68.48
6. The following data gives melting points of an alloy of lead and zinc:
% of lead in the alloy 50 60 70 80
Temperature (0 C) 205 225 248 274
Find the melting point of the alloy containing 54% lead using appropriate interpolation
formula.
7. The table gives the distances in nautical miles of the visible horizon for the given heights in feet above
the earth surface. Find the values of y when (i) x 160 ft (ii) x 410 ft
Dept. of Freshman Engineering Page 4 of 5
Height x 100 150 200 250 300 350 400
8. The population of a certain town in decennial census was given below. Estimate the population of the
town for the year (i) 1925 (ii) 1955
Year 1921 1931 1941 1951 1961
Population 46 66 81 93 101
(in Thousands)
9. Use Lagrange’s interpolation formula to find the value y of when x 10 for the following data:
x 5 6 9 11
y 12 13 14 16
10. Given log10654 2.8156; log10658 2.8182; log10659 2.8189; log10661 2.8202. Find the
value of log10 656 by Lagrange’s interpolation formula.
11. Find the polynomial f ( x) by using Lagrange’s formula for the following data:
x 0 2 3 6
f ( x) 648 704 729 792
12. A curve passes through the points (0,18), (1,10), (3, 18) and (6, 90). Find the slope of the curve
at x 2.
13. Find the parabola passing through the points (0,1),(1,3) and (3,55) using Lagrange’s formula.
14. The following are the measurements T made on a curve recorded by oscilograph representing
a change of current I due to a change in the conditions of an electric current.
T 1.2 2.0 2.5 3.5
I 1.36 0.58 0.34 0.20
Using Lagrange’s formula, find I at T 1.6
15. Using Lagrange’s formula, express the following functions as a sum of partial fractions.
(i ) 3 x2 x 1 (ii) x2 x 3
( x 1)( x 2)( x 3) x3 2 x2 x 2
Answers
3 2
1.0.6157 2. x 6x 11x 6; y(8) 990 3.8666