2

Problem:
Assume we have the following points:
$(x_0,y_0), (x_1,y_1), (x_2,y_2), (x_3,y_3)$ where $x_0 = -3$, $x_1 = -2$,
$x_2 = -1$ and $x_3 = 0$.
Given the function $f(x) = Ax^2 + Bx + C$
find the constants $A$,$B$ and $C$ such that
$f(0) = y_3$ and
$$d = \sum_{i = 0}^{2} (f(x_i) - y_{i})^2$$
is...