100 likes | 256 Views
KKKQ 3013 PENGIRAAN BERANGKA. Week 6 – Interpolation & Curve Fitting 14 August 2007 8.00 am – 9.00 am. Topics. .
E N D
KKKQ 3013PENGIRAAN BERANGKA Week 6 – Interpolation & Curve Fitting 14 August 2007 8.00 am – 9.00 am
Topics Introduction Newton Interpolation: Finite Divided Difference Lagrange Interpolation Spline Interpolation Polynomial Regression Multivariable Interpolation Week 6
Tutorial Example 1 (adapted courtesy of ref. [1]) From table 1 below, estimate f(x) at x = 5.5 using the third order (cubic) Newton interpolating polynomial. As a start, use points x = 1, 4, 5 & 6. [1] KQ3013 lecture notes Week 6
Tutorial Example 1 (adapted courtesy of ref. [1]) The third order Newton interpolating polynomial, eq. (3.5) i.e. n = 3: [1] KQ3013 lecture notes Week 6
Tutorial Example 1 (adapted courtesy of ref. [1]) where from equation (3.6c) [1] KQ3013 lecture notes Week 6
Tutorial Example 1 (adapted courtesy of ref. [1]) Note for b3: [1] KQ3013 lecture notes Week 6
Tutorial Example 1 (adapted courtesy of ref. [1]) The first divided difference: [1] KQ3013 lecture notes Week 6
Tutorial Example 1 (adapted courtesy of ref. [1]) Therefore, the second divided difference: and hence, the third divided difference: [1] KQ3013 lecture notes Week 6
Tutorial Example 1 (adapted courtesy of ref. [1]) Summarising the divided difference calculation: Therefore, 3rd order Newton polynomial: Now, repeat using points x = 4, 5, 6 & 7. Which group of points gives closer approximation to true value ? and ln 5.5 [1] KQ3013 lecture notes Week 6
Tutorial Example 1 (adapted courtesy of ref. [1]) Summarising the divided difference calculation for next group of points: and ln 5.5 Exact or true value: ln 5.5 = 1.704748 !! Week 6