N-th Degree Polynomial Data Point Fitting Routine; N-th
FOCAL8-37
Degree Polynomial Data Point Fitting Routine with RMS Error

R. E. McCullough, University of Colorado, Denver, Colorado

N-th Degree Polynomial Data Point Fitting Routine - This
program accepts the x- and y- coordinates for an unlimited
number of data points and calculates for the equation
Y=A0 + A1x + a2x2 + ... + ANXN,
the coefficients AN which best fit the equation to the data
points. The fitting criterion is "least squares." The program
allows the user to select the degree, N, of the fitting
equation. N may be as large as 7.

N-th Degree Polynomial Data Point Fitting Routine with
RMS Error - This program is the same as N-th Degree Poly-
nomial Fitting Routine except that it calculates the RMS error
between the y-coordinates of the data points and the evaluated
fitting equation. It will accept only a limited number of data
points and the maximum equation degree allowed is inversely
related to this number.

Source Language:
FOCAL 1968

Catalog: July 1973