Numerical Methods Test
Numerical Methods Test
where 3 Marks]
n
Y x − xj
Li (x) = .
j=0
x i − x j
j̸=i
Pn
Further, prove that i=0 Li (x)xki = xk , k = 0, 1, . . . n.
3. Use Gaussian elimination with Complete Pivoting and 3-digit rounding arithmetic to find
the solution of following system od linear equations. [2 Marks]
4. Let P3 (x) be the interpolating polynomial for the data (−1, −4), (3, 2), (5, y), and (8, 5).
The coefficient of x3 in P3 (x) is −31
180
. Find y. [2 Marks]