Find a least-squares solution to the equation Ax = b where
A=\left[\begin{array}{lll}1 & 1 & 2 \\1 & 2 & 3 \\1 & 3 & 4 \\1 & 4 & 5\end{array}\right], \quad b =\left[\begin{array}{l}1 \\2 \\1 \\2\end{array}\right].
Find a least-squares solution to the equation Ax = b where
A=\left[\begin{array}{lll}1 & 1 & 2 \\1 & 2 & 3 \\1 & 3 & 4 \\1 & 4 & 5\end{array}\right], \quad b =\left[\begin{array}{l}1 \\2 \\1 \\2\end{array}\right].