Module 3C-
Module 3C-
Suppose we have some input data (x) and output data f(x) given in tabular form. Then we
want to find a polynomial functional relation of input data (x) and output data f(x), such
that that polynomial function can represent that table values called Interpolating
polynomial.
x0 x1 x2 xn
.. ..
y0 y1 y2 .. .. yn
We can also write these values as ( xi , yi ); i 1,2,3,...n.
…….……..……………. …(2)
………………………….
………………………....
………………………….
For xn , yn we get, yn a0 a1 xn a2 xn a3 xn ......... an xn
2 3 n
OR
Then we get a system of linear equations for variables a0 , a1, a2 , a3.........an , we solve and
put in equation (1), and get Interpolating polynomial y f ( x).
Question 1: Find a polynomial for the given data (2, -2), (3, 5) & (-4, 6).
OR
Find a polynomial for the given data
x: 2 3 4
f ( x) : 2 5 6
OR
Find a polynomial for the given data y2 2, y3 5, y4 6 .
62 22 25
So the required polynomial f ( x) x x2 .
7 21 21
Ans: