|
Posted: 11/2/21
Due: 11/9/21, 11:55PM
Determine the linear spline interpolant of
using equidistant nodes in the interval , for . Present a superimposed plot of the errors
Repeat above for quadratic splines.
Repeat for cubic splines. Compare the error behavior for all three cases.
Extra credit (3 points). The above can be carried out either by traditional or -spline formulations. Do both formulations for double credit.
Prove that natural cubic spline end conditions lead to a 2-norm of curvature smaller than that of the interpolated function
with
Hint: Separate integral onto subintervals
Prove that the -spline set is a basis for all spline interpolants of degree defined on the partition , denoted as .
Construct convergence plots for the -spline interpolants of degrees of
using equidistant nodes in the interval , for . Verify if order of convergence indicated by the plot slopes corresponds to theoretical predictions. Present plots of for for each .
Extra credit (3points). Implement algorithms for efficient determination of -spline coefficients based upon their recursive definition. Also based upon the recursive definition of -splines, present an efficient algorithm for evaluation of the -spline
Note: the algorithms should be (significantly) more economical than solving by or factorization which require operations, and also more economical than the operations required to carry out the matrix vector product .