\begin{array}{c|lcr} x & y\\ \hline 1 & 20\\ 2 & 16\\ 3 & 13\\ 4 & 11\\ 5 & 10 \end{array}
How do you start a solution when you have these type of problem? I was used to given an equation but not like all just numbers. It was state that the answer is $y=\frac{1}{2}x^2$ -$\frac{11}{2}x$ $+25$ how do you even generate that?
We can use a Least Squares fit and will use the example on page $3$ of these notes as a guide. We setup the system of equations to fit a parabola $a x^2 + b x + c$ as
$$\begin {align} a(1)^2 + b(1) + c &= 20 \\ a(2)^2 + b(2) + c &= 16 \\ a(3)^2 + b(3) + c &= 13 \\ a(4)^2 + b(4) + c &= 11 \\ a(5)^2 + b(5) + c &= 10 \\ \end {align}$$
This gives us
$$A = \begin{bmatrix} 1 & 1 & 1 \\ 4 & 2 & 1 \\ 9 & 3 & 1 \\ 16 & 4 & 1 \\ 25 & 5 & 1 \end{bmatrix}, ~~b = \begin{bmatrix} 20 \\ 16 \\ 13 \\ 11 \\ 10 \end{bmatrix}$$
Using Least Squares, we have
$$\begin{bmatrix} a \\ b \\ c \end{bmatrix}= (A^T A)^{-1} A^T ~ b = \begin{bmatrix}~~~\dfrac{1}{2} \\ -\dfrac{11}{2} \\ ~~~25 \end{bmatrix}$$
So, the final result is
$$y = \dfrac{1}{2}x^2 -\dfrac{11}{2}x + 25$$
If the theory is not clear, you can refer to these notes and look at another example starting on page $5$.