This preview shows page 1. Sign up to view the full content.
Unformatted text preview: 2.1.d . Implement a routine that constructs the interpolating cubic spline s ( x ) in terms of the linear combination of cubic B-splines and a routine that evaluates the resulting spline at any value x . You need only support boundary conditions of the type s = f ( x ) , s n = f ( x n ) in this code. You may restrict the x i to be uniformly separated for this code, i.e., h = x i-x i 1 . 2.1.e . Apply each code with f ( x ) taken to be dierent cubic polynomials, i.e., not just f ( x ) = x 3 , with the various boundary conditions and discuss the results. 2.1.f . Apply each code with various boundary conditions to f ( x ) = 1 + x 2 on [-1 , 1] with various choices of and . and discuss the results. 1...
View Full Document
This note was uploaded on 11/10/2011 for the course MAD 5404 taught by Professor Gallivan during the Spring '11 term at FSU.
- Spring '11