The fit function of type y = a + bx for the following points using the least square method.
The fit function of type $y = a + bx$ for the following points using the least square method.
$$\begin{array}{c|cccccc} X & -1 & 1.2 & 2 & 2.7 & 3.6 & 4 \ \hline F(x) & 1 & 20 & 27 & 33 & 41 & 45 \end{array}$$
[5]
X -1 1.2 2 2.7 3.6 4 --------------------------- F(x) 1 20 27 33 41 45 Number of points: $n = 6$ Normal equations for $y = a + bx$: $$\sum y = na + b\sum x$$ $$\sum xy = a\sum x + b\sum x^2$$ x y x² xy --------------------------- -1 1 1.00 -1.0 1.2 20 1.44 24.0 2 27 4.00 54.0 2.7 33 7.29 89.1 3.6...