Example 1. Find the
standard "least squares parabola"
for
the data points
.
Use the subroutine LSParabola to find the
line. Compare with the line obtained with
Mathematica's Fit procedure.
Solution 1.
Let's peek at the linear system that was solved.
Of course we want a graph.
![[Graphics:../Images/LeastSqPolyMod_gr_31.gif]](../Images/LeastSqPolyMod_gr_31.gif)
The RMS error
for this example is:
(c) John H. Mathews 2004