Problem 6. (12 points)
The goal of this problem is to fit a quadratic function of the form $f(x) = c_1x + c_2x^2$ to the data points $(-3, 74)$, $(-2, 11)$, $(-1, -2)$, $(1, 2)$, using least squares.
(a) The problem is equivalent to finding the least squares solution to the system $Xc = y$ where
X =
y =
and $c = \begin{bmatrix} c_1\\c_2 \end{bmatrix}$
(b) Find the coefficients of the best fit by finding the least squares solution to the system in part (a)
$c_1 = $
$c_2 = $
Note: You can earn partial credit on this problem.
Problem 7. (5 points)