GATE 2023 XE — all source sections – Question 16
P(x) = a0 + a1x + a2x(x − 1) + a3x(x − 1)(x − 2) interpolates (0,2),(1,3),(2,2),(3,5). Find P(5/2), to two decimals.
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: 2.60 to 2.65
Explanation
Forward differences of values2,3,2,5 are1, − 1,3; second differences − 2,4; third difference6. Newton’s polynomial is P = 2 + x − x(x − 1) + x(x − 1)(x − 2). At x = 2.5, it gives 2 + 2.5 − 3.75 + 1.875 = 2.625, rounded2.63.