Example 2.  Construct the natural cubic spline for the points [Graphics:Images/CubicSplinesMod_gr_34.gif]  that has the endpoint constraints   [Graphics:Images/CubicSplinesMod_gr_35.gif].  
Use Mathematica's procedure SplineFit.  

Solution 2.

[Graphics:../Images/CubicSplinesMod_gr_36.gif]

[Graphics:../Images/CubicSplinesMod_gr_37.gif]

 

Which is the same curve that was obtained in Example 1.

[Graphics:../Images/CubicSplinesMod_gr_27.gif]

[Graphics:../Images/CubicSplinesMod_gr_28.gif]

[Graphics:../Images/CubicSplinesMod_gr_29.gif]

[Graphics:../Images/CubicSplinesMod_gr_30.gif]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2004