Science:Math Exam Resources/Courses/MATH221/December 2009/Question 09/Solution 1
Appearance
The coefficients of the least squares fit are given by
where
and
Now
and
- .
Solving the resulting linear system, we find that , so the least squares fit is .