interpolation, differentiation, and integration of a set of discrete data are of
interest. These processes are illustrated in Figure 4.2. These processes are
performed by fitting an approximating function to the set of discrete data
and performing the desired process on the approximating function.
Many types of approximating functions exist. In fact, any analytical
function can be used as an approximating function. Three of the more
common approximating functions are:
1. Polynomials
2. Trigonometric functions
3. Exponential functions
Approximating functions should have the following properties:
1. The approximating function should be easy to determine.
2. It should be easy to evaluate.
3. It should be easy to differentiate.
4. It should be easy to integrate.
Polynomials satisfy all four of these properties. Consequently,
polynomial approximating functions are used in this book to fit sets of
discrete data for interpolation, differentiation, and integration. There are two
fundamentally different ways to fit a polynomial to a set of discrete data:
1. Exact fits
2. Approximate fits
An exact fit yields a polynomial that passes exactly through all of the
discrete points, as illustrated in Figure 4.3a. This type of fit is useful for
small sets of smooth data.
An approximate fit yields a polynomial that passes through the set of
data in the best manner possible, without being required to pass exactly
through any of the data points, as illustrated in Figure 4.3b. Several
definitions of best manner possible exist. Approximate fits are useful for