Indian Institute of Management Rohtak Numerical Analysis
IPM Term VI Practice Problems Set: 4
Interpolation and Numerical Differentiation
x: 2 3 4 5 6
1. Find the missing term in the table . (Ans: 60.05)
y: 45.0 49.2 54.1 ... 67.4
x: 45 50 55 60 65
2. From the table of half-yearly premium for
y: 114.84 96.16 83.32 74.48 68.48
policies maturing at different ages, estimate the premium for policies maturing at age
of 46. (Ans: 110.52)
x: 8 10 12 14 16 18
3. Compute y(9), y(7), y(17), y(19) from the data .
y: 10 19 32.5 54 89.5 154
(Ans: y(7)=5.1777, y(9)=14.455, y(17)=126.841, y(19)=219.208)
4. Fit an interpolating polynomial of third degree and find y(0.2) from the data
x: 0 0.1 0.3 0.5
using Lagrange’s interpolation.
y: -0.5 0 0.2 1
(Ans: y(0.2)=-0.15004, 125
3
x3 − 30x2 + 73
12
x − 0.5)
x: 14 17 31 35
5. Compute f (27) from the data using Lagrange’s inter-
f(x): 68.7 64.0 44.0 39.1
polation. (Ans: f(27)=49.3)
6. Using Newton’s divided difference interpolation formula, compute f (8) from the data
x: 4 5 7 10 11 13
. (Ans: f(8)=448)
f(x): 48 100 294 900 1210 2028
7. Find Newton’s general interpolation polynomial and hence evaluate f (−3) and f (9)
x: -4 -1 0 2 5
from the data . (Ans: 3x4 − 5x3 + 6x2 − 14x + 5,
f(x): 1245 33 5 9 1335
f(-3)=479, f(9)=16403)
8. Using forward differences, find the first and second derivatives of y at x = 2 for the
data given below.
x: 2 4 6 8 10
. (Ans: y ′ (2) = −1.5, y ′′ (2) = 2.375)
y: 0 0 1 0 0
9. Compute y ′ (1), y ′′ (1), y ′ (3) from the following data:
x: 1 2 3 4 5 6 7 8
.
y: 2.105 2.808 3.614 4.604 5.857 7.451 9.467 11.985
(Ans: y ′ (1) = 0.6925, y ′′ (1) = 0.0201, y ′ (3) = 0.883)
IIM Rohtak Page 1
Indian Institute of Management Rohtak Numerical Analysis
Numerical Integration
3
1. Evaluate −3 x6 dx using Trapezoidal rule taking h = 1.0. Also, compare numerical
solution with the exact solution. (Ans: numerical = 859, Exact = 624.857142857)
1 1
2. Evaluate 0 1+x2
dx using Trapezoidal rule with h = 0.2. (Ans: 0.783732)
5.2
3. Evaluate 4
loge x dx taking 6 subintervals. (Ans: 1.83)
Π 1
4. Evaluate 0
Sinx dx using Simpson’s 3
rule, taking 10 subintervals. (Ans: 2.0009)
2 1
5. Evaluate 1
e− 2 x dx using Simpson’s 1
3
rule, taking 4 subintervals. (Ans: 0.4773025)
6 ex 3
6. Evaluate 0 1+x
dx using Simpson’s 8
rule, taking 6 subintervals. (Ans: 70.1652)
1.4 3
7. Evaluate 0.2 (Sin(x) − loge x + ex ) dx using Simpson’s 8
rule, taking 6 subintervals.
(Ans: 3.82160548)
IIM Rohtak Page 2