Example 7.  Use the Horner's method for higher derivatives to calculate all the derivatives  [Graphics:Images/HornerMod_gr_209.gif]  for the polynomial
        [Graphics:Images/HornerMod_gr_210.gif].  

Solution 7.

Enter the coefficients  [Graphics:../Images/HornerMod_gr_211.gif]  of  [Graphics:../Images/HornerMod_gr_212.gif]  in the first row of the matrix  [Graphics:../Images/HornerMod_gr_213.gif]  and construct  [Graphics:../Images/HornerMod_gr_214.gif].

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


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

Execute the subroutine loops for computing the entries in rows  2  through  n+2  of the matrix.

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


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

We can print out the values to see if they are correct.






The values  [Graphics:../Images/HornerMod_gr_221.gif]   of the derivatives can be used to construct the Taylor polynomial of  [Graphics:../Images/HornerMod_gr_222.gif]  expanded about  [Graphics:../Images/HornerMod_gr_223.gif].

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


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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2004