Sheet 2
System of equations and newton interpolation
A) Solve by Gauss elimination
1- Given the system of equations
−1.1x1 + 10x2 = 120
−2x1 + 17.4x2 = 174
2- Given the system of equations
−3x2 + 7x3 = 4
x1 + 2x2 − x3 = 0
5x1 − 2x2 = 3
3- Given the equations
10x1 + 2x2 − x3 = 27
−3x1 − 5x2 + 2x3 = −61.5
x1 + x2 + 6x3 = −21.5
B) Interpolation
1- Use Newton’s interpolating polynomial to determine y at x = 3.5 to the best possible
accuracy
x=0 1 2. 5 3 4.5 5 6
y= 2 5.4375 7.3516 7.5625 8.4453 9.1875 12
2- Determine the value of x that corresponds to f (x) = 0.93 for the following tabulated
data
x= 0 1 2 3 4 5
f (x)= 0 0.5 0.8 0.9 0.941176 0.961538
Note that the values in the table were generated with the function f (x) = x2∕(1 + x2).
(a) Determine the correct value analytically.
(b) Use quadratic interpolation and the quadratic formula to
determine the value numerically.
(c) Use cubic interpolation and to determine the value numerically.