The following data was generated with the fifth- order polynomial:f(x) = 0.0185x5 - 0.444x4 + 3.9125x3 - 15.456x2 + 27.069x - 14.1:
x | 1 | 3 | 5 | 6 | 7 | 9 |
f(x) | 1.000 | 2.172 | 4.220 | 5.430 | 4.912 | 9.120 |
(a) Fit this data with a cubic spline with not-a-knot end conditions. Create a plot comparing the fit with the function.
(b) Repeat (a) but use clamped end conditions where the end slopes are set at the exact values as determined by differentiating the function. conditions. In addition, develop a plot using (c) piecewise cubic Hermite interpolation.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.