## Procedure

This model fits a polynomial curve to a data set. Users can add points (up to a limit) by clicking within the plotting panel. Add data to the panel and then adjust the parameters of the polynomial y = f(x), in order to obtain a good fit using the a, b, c, d, and e parameters. Use the best fit button to compare your fit to the the best possible polynomial fit.

## NumericJS model element

This model demonstrates how to use the Numeric JS model element (see the Elements panel of the model) to solve the system of linear equations required for the least squares approximation.

Reference: Least Squares entry of the Wikipedia.