Proactice Questions-Numerical Methods
Proactice Questions-Numerical Methods
y(1) 24, y(3) 120, y(5) 336,and y(7) 720. Hence, or otherwise, obtain the
value of y (8).
3. Example 4 The table below gives the values of tan x for 0.10 x 0.30 :
x 0.10 0.15 0.20 0.25 0.30
y=tan x 0.1003 0.1511 0.2027 0.2553 0.3093
Find: (a) tan 0.12 (b) tan 0.26 (c) tan 0.40 and (d) tan 0.50.
Ans:
(a) p = 0.4. Hence tan (0.12) = 0.1205.
(b) p = -0.8. Hence tan (0.26) = 0.2662.
(c) p = 2. Hence tan (0.40) = 0.4241. (Extrapolation).
(d) p = 4. Hence tan (0.50) = 0.5543. (Extrapolation).
7. Use Newton’s divided difference formula to find 𝑓(4) from the given data
𝑥 0 2 3 6
𝑓(𝑥) −4 2 14 158
Ans: f(4)=40
8. Find the interpolating polynomial using Newton’s divided difference
formula for the following data and also find y when x=8.
𝑥 0 1 2 5
𝑦 2 3 12 147
9. Find the Newton’s divided differences polynomials for the data and also
find 𝑓(2.5).
𝑥 −3 −1 0 3 5
𝑓(𝑥) −30 −22 −12 330 3458
Ans:
𝑦 = 𝑓(𝑥) = 5𝑥 4 + 9𝑥 3 − 27𝑥 2 − 21𝑥 − 12.
When 𝑥 = 2.5 , 𝑦 = 102.6785.
10.Given that
𝑥 50 51 52 53 54 55 56
𝑦 3.684 3.7084 3.7325 3.7563 3.7798 3.803 3.8259
𝑑𝑦 d2y
find and at 𝑥 = 50 and 𝑥 = 56.
𝑑𝑥 dx 2
𝑑𝑦 d2y
Ans: At x = 50, = 0.02455, = 1[-0.0003]= -0.0003
𝑑𝑥 dx 2
𝑑𝑦 d2y
At x = 56, = 0.02275, = -0.0003
𝑑𝑥 dx 2
13. A curve is drawn to pass through the points given by the following table:
x 1 1.5 2 2.5 3 3.5 4
y 2 2.4 2.7 2.8 3 2.6 2.1
Estimate the area bounded by the curve, X-axis and the lines x = 1, x = 4.