Question: Task: Write a program for cubic spline interpolation in the framework of the text Burden and Faires, Numerical Analysis, ninth edition, 2011, Chapter 3, section



Task: Write a program for cubic spline interpolation in the framework of the text Burden and Faires, Numerical Analysis, ninth edition, 2011, Chapter 3, section 3.5, pp. 144-157 Specifications: (1) The program should be well commented (2) The program should be written to input the interpolation data for the interpolation point i, the functional values fi, and the boundary conditions (3) The solution of the system of linear equations for the coefficients ci should be done in a separate subroutine. You can use the Crout factorization (see p. 422 -424 of ninth edition or p. 380 of fifth edition) of your textbook. Also you can use any other tridiagonal solver 4) Write a separate subroutine for computing the value of the spline interpolant and its derivative at a given point x. (5) Plot the spline-interpolant. Task: Write a program for cubic spline interpolation in the framework of the text Burden and Faires, Numerical Analysis, ninth edition, 2011, Chapter 3, section 3.5, pp. 144-157 Specifications: (1) The program should be well commented (2) The program should be written to input the interpolation data for the interpolation point i, the functional values fi, and the boundary conditions (3) The solution of the system of linear equations for the coefficients ci should be done in a separate subroutine. You can use the Crout factorization (see p. 422 -424 of ninth edition or p. 380 of fifth edition) of your textbook. Also you can use any other tridiagonal solver 4) Write a separate subroutine for computing the value of the spline interpolant and its derivative at a given point x. (5) Plot the spline-interpolant
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
