%% YOURNAME (DUEDATE)
%
% *IMPORTANT:*
%
% Do not change *anything* in this header (besides your
% name and due date above as needed)!
%
% Put your solution to the exercise completely at the end
% of this file.
%
%%
% <latex>
% % for Octave, or for Matlab published to LaTeX for proclatex
% \input{../setup.tex}
% </latex>
%
%% INTERPOLATION, Exercise 5

if ~exist('___code___','var') ; clear ; end
format compact
more off


%% EXERCISE DESCRIPTION:
%
% Integrate the data of the previous exercises from -1 to
% 3 using the various approximations.  For linear and
% spline interpolation, use the 8 exact data.  For the
% fitted polynomials, use the 64 noisy data points of the
% previous exercise.  Compare with exact.


%% SOLUTION:


