Solution 3 (a).

Investigate the error for the Lagrange interpolation polynomial [Graphics:../Images/LagrangePolyMod_gr_240.gif],  of degree n = 2.

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

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

[Graphics:../Images/LagrangePolyMod_gr_243.gif]
[Graphics:../Images/LagrangePolyMod_gr_244.gif]

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

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

Looking at the above graph we make the following estimate for the error: [Graphics:../Images/LagrangePolyMod_gr_247.gif]

Use formula (ii).    [Graphics:../Images/LagrangePolyMod_gr_248.gif][Graphics:../Images/LagrangePolyMod_gr_249.gif]   is valid for  [Graphics:../Images/LagrangePolyMod_gr_250.gif],  and find the error bound for this example.

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

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

[Graphics:../Images/LagrangePolyMod_gr_253.gif]
[Graphics:../Images/LagrangePolyMod_gr_254.gif]
[Graphics:../Images/LagrangePolyMod_gr_255.gif]
[Graphics:../Images/LagrangePolyMod_gr_256.gif]

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

Thus,  [Graphics:../Images/LagrangePolyMod_gr_258.gif]  is valid for  [Graphics:../Images/LagrangePolyMod_gr_259.gif],  which is a little bit larger than the maximum error  0.00329294.  After all, it is an error bound.  

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2004