This preview shows page 1. Sign up to view the full content.
Unformatted text preview: 4. Find b,c,d so that the following is a natural cubic spline S ( x ) = ( 1 + 2 xx 3 , if 0 x &lt; 1 , 2 + b ( x1) + c ( x1) 2 + d ( x1) 3 , if 1 x &lt; 2 . 5. (Matlab) (a) Plot the piecewise linear polynomial of problem #2(a) over [0 , 6] and turn it in. (b) Plot the piecewise quadratic polynomial of problem #2(c) over [0 , 6] and turn it in. (c) Plot the interpolating polynomial of least degree for the data in problem #2 and turn it in. 6. (Math 274) Consider data points taken from the sine function at n evenly spaced points x i : 0 = x 1 &lt; x 2 &lt; ... &lt; x n = 2 . Let p ( x ) be the piecewise linear polynomial interpolating these points. Use bounds to nd n that will ensure that  f ( x )p ( x )  107 . 1...
View
Full
Document
This note was uploaded on 10/17/2010 for the course MATH 174 taught by Professor Staff during the Spring '08 term at UCSD.
 Spring '08
 staff
 Approximation

Click to edit the document details