Chap 5 Com
Chap 5 Com
There are two general approaches for curve fitting that are distinguished from
each other on the basis of the amount of error associated with the data.
• First, where the data exhibits a significant degree of error or “noise,” the
strategy is to derive a single curve that represents the general trend of the data.
• Because any individual data point may be incorrect, we make no effort to intersect
every point.
• Rather, the curve is designed to follow the pattern of the points taken as a group.
One approach of this nature is called least-squares regression.
• Second, where the data is known to be very precise, the basic approach is to fit a
curve or a series of curves that pass directly through each of the points
• The estimation of values between well-known discrete points is called
interpolation.
Criteria for the Choice of the Approximate Function
The function introduces a small or minimum error to system to
approximate intermediate values and simplicity of implementation in
computer Software.
Least Square Approximation by Polynomials
• One strategy for fitting a “best” line through the data would be to
minimize the sum of the square of residual errors for all the available
data,
Where n = total number of points.
• These equations can be set equal to zero and rearranged to develop the
following set of normal equations:
Approximation by Polynomials
• The standard error formula with n= number of data points and m=
degree of approximation function.
With
Interpolation
• The coefficients can be found from finite divided differences.
Where,
Interpolation
Therefore Newton’s divided-difference interpolating polynomial can
be written as
where,
For example ,
Interpolation
Assignments
Inverse interpolation
Spline interpolation