3. Consider the function f(x) =
Generate five equidistantly spaced points
1+25x²
(xi, f (xi)) over the interval: [-1 1]. Fit this data with (a) a fourth-order polynomial, (b) a
linear spline and (c) a cubic spline. Assume spline derivatives are zero at the end points.
Compare your results graphically (use the x-axis range [-1 1]).
Fig: 1