Can't figure out this binary addition

45 Views Asked by At

I need to add the following numbers. I keep getting a result of 10010.101, but the answer is 10100.101. Can anyone confirm that

10100.101

is the correct answer, and that I'm the one mistaken?

Numbers that need to be added:

   1011
  10110
 101100
1011000
1

There are 1 best solutions below

2
On

Were the number base $10$, the sum would be $1123221$. We replace the rightmost $2$ by $0$ and carry $1$ to the left: $1123\color{green}{30}1$. Now $3$ becomes $1$ and we carry $1$ to the left: $112\color{green}{41}01$. $4$ becomes $0$, but this time we carry $2$ to the left: $11\color{green}{40}101$. Once again, $1\color{green}{30}0101$. Then $\color{green}{21}00101$. And finally $\color{green}{10}100101$.