1. Evaluation
1. From the following table, estimate the number of students who obtained marks between
40 and 45 using the Newton-Gregory forward interpolation formula.
Marks 30-40 40-50 50-60 60-70 70-80
No. of students 31 42 51 35 31
[3 marks]
Solution:
First, we prepare the cumulative frequency table, as follows:
Marks less than (X) 40 50 60 70 80
No. of students (Y) 31 73 124 159 190
Difference Table
X Y ∆𝑌0 ∆2
𝑌0 ∆3
𝑌0 ∆4
𝑌0
40 31
42
50 73 9
51 -25
60 124 -16 37
35 12
70 159 -4
31
80 190
2. We have 𝑋0 = 40, 𝑋 = 45, ℎ = 10, 𝑝 =
𝑋−𝑋0
ℎ
= 0.5
From the difference table 𝑌0 = 31, ∆𝑌0 = 42, ∆2
𝑌0 = 9, ∆3
𝑌0 = −25, ∆4
𝑌0 = 37
From Newton-Gregory Forward Interpolation formula:
𝑓(𝑥) = 𝑌0 + 𝑝∆𝑌0 +
𝑝(𝑝 − 1)
2!
∆2
𝑌0 +
𝑝(𝑝 − 1)(𝑝 − 2)
3!
∆3
𝑌0 +
𝑝(𝑝 − 1)(𝑝 − 2)(𝑝− 3)
4!
∆4
𝑌0
= 31 + 0.5(42) +
0.5(0.5−1)
2×1
(9) +
0.5(0.5−1)(0.5−2)
3×2×1
(−25)+
0.5(0.5−1)(0.5−2)(0.5−3)
4×3×2×1
(37)
= 31 + 21 − 1.125 − 1.5625 − 1.4453
𝑓(𝑥) = 47.8674 ≈ 48
The number of students with marks less than 45 is 48, but the number of students with marks less
than 40 is 31.
Hence the number of students getting marks between 40 and 45 is 48-31= 17
3. 2. Estimate f(1.13) from the following table using Newton-Gregory backward interpolation
formula.
x 1.00 1.05 1.10 1.15 1.20
f(x) 1.0000 1.2567625 1.531000 1.820875 2.128000
[3 marks]
Solution:
Difference Table
X Y ∇𝑌0 ∇2
𝑌0 ∇3
𝑌0 ∇4
𝑌0
1.00 1.0000
0.2567625
1.05 1.2567625 0.017475
0.2742375 -0.020625
1.10 1.531000 -0. 00315 0.0786
0.2710875 0.057975
1.15 1.8020875 0.054825
0.3259125
1.20 2.128000
We have 𝑋0 = 1.15, 𝑋 = 1.13, ℎ = 0.05, 𝑝 =
𝑋−𝑋0
ℎ
= −0.4
From the difference table 𝑌0 = 1.8020875, ∇𝑌0 = 0.2710875, ∇2
𝑌0 = −0.00315, ∇3
𝑌0 =
−0.020625,