Professional Documents
Culture Documents
NUMERICAL METHODS
LECTURER
TUTORIAL 5
GROUP B
MATRIC NO : D20151070947
1. Given the following polynomial 𝒑(𝒙) = 𝟒𝒙 𝟒 − 𝟐𝒙 𝟑 + 𝟑𝒙 𝟐 − 𝒙 + 𝟏𝟎.
(c) Use the Scilab function horner and find the values of b ′ s at x0 = −2.
2. Given the following set of data (0,3), (1,2) and (2,3). Use Vandermonde approach
to find
(c) p(1.5).
3. Use the Scilab code VANDER and find the Vandermonde matrix V and the
vector coefficients a. Check that your handwritten and Scilab must give the
similar solutions.
4. Use the Scilab code for Lagrange polynomial for the following data points (10.1,
(b) Find the interpolated value at x = 29.6. You may need to modify the code so
(50.5,0.636).