Assignment Lec 15
Assignment Lec 15
1. Given the data points of the function f and its derivative f ' .
x f(x) f'(x)
-1.0 0.00000 1.50000
-0.8 0.29545 1.41667
0.2 1.68324 1.22727
0.7 2.34317 1.18519
Use it to construct Hermit interpolation of f using:
a) The result in Theorem 3.9 (see Lecturenote).
b) Using Divided Difference Formula (Use excel to perform your calculation)! (NOTE: Divided
Diffence method applied to Hermite interpolation must be used with dummy nodes. So it is not
the same as original version.)
2. Write a matlab program implementing the Divided Difference Formula to construct
coefficients of the Hermit interpolation and find Hermite interpolation (Use simplify function
in Command Window to help you calculate it). Then use this to check the above the result (in
Exercise 1).