Solve $Ax =b$ with two-digit floating-point arithmetic.
We have $$ A= \begin{pmatrix} 1 & 1\\ 1 & 0,99\\ \end{pmatrix} $$ and
$$ b = \begin{pmatrix} -1 \\ 1 \\ \end{pmatrix} $$
So I get : $$ \left[ \begin{array}{cc|c} 1&1&-1\\ 0&1\cdot10^{-2}&2 \end{array} \right] $$
for $x$ I got $$ x=\begin{pmatrix} 199 \\ -200 \\ \end{pmatrix} $$ but the solution says that $$ x=\begin{pmatrix} -200 \\ 200 \\ \end{pmatrix} $$ is correct, but why? Remark: it seems so that the solution has a mistake. it should be (200,-200)
I know that this question could be very easy for a lot of people. I am a complete amateur in terms of floating point arithmetic.
The problem said that you were working in "two digit floating point arithmetic". "-199" rounded to two digits is "-200".