Solutions
In[31]:=
Out[34]=
It appears that the interpolating polynomial overshoots the function very badly, at least near the edges of the interpolation area. A finer spacing only makes the problem worse. A piecewise interpolation works much better for this case.
In[35]:=
Out[38]=
Let's next compare the functions Interpolation and SplineFit:
In[44]:=
Out[45]=
Out[48]=
| Created by Mathematica (April 10, 2007) |