But |error| = |sin(.34) − H 5(.34)| = | − 2.91 × 10

62
3. INTERPOLATION AND POLYNOMIAL APPROXIMATION
But
|error| = | sin(.34)
H5(.34)| = |
2.91 ⇥ 10 6| = 2.91 ⇥ 10 6.
The reason |error| is larger than the computed upper bound is a result of
rounding all the function values and computations to 5 digits.
An algorithm in pseudocode for implementing Hermite interpolation follows.