Is the Addition of These Three Binary Numbers Correct?

  • Thread starter Thread starter kidi3
  • Start date Start date
  • Tags Tags
    Binary Numbers
AI Thread Summary
The discussion centers on the addition of three binary numbers: 101111000, 10111110, and 10001101. Initial calculations led to the result of 1011000011, which was later questioned due to a discrepancy with a textbook answer. It was revealed that the textbook only added two of the numbers, ignoring the third, leading to confusion. Participants emphasized the importance of aligning numbers and carries correctly for accurate binary addition. Ultimately, the realization clarified the error in the initial assessment and highlighted the need for careful evaluation in binary calculations.
kidi3
Messages
26
Reaction score
0

Homework Statement


Addition.

3 binarynumbers

101111000
10111110
+ 10001101

The Attempt at a Solution


111
111111
101111000
10111110
+ 10001101
1011000011

Is it correct?
 
Physics news on Phys.org
You need to align them to make it easier to evaluate. Also I think your carries weren't lined up either.

Code:
   101111000
    10111110
 +  10001101
---------------
  1011000011

Yes, I get the same answer.

Of course you can check your result by converting back to decimal

376 + 190 + 141 = 707
 
Last edited:
Well.. that's what i hoped wasn't the case...

My books says that it's incorrect.

It says that the answer should be

http://snag.gy/mjQzv.jpg
 
kidi3 said:
Well.. that's what i hoped wasn't the case...

My books says that it's incorrect.

It says that the answer should be

http://snag.gy/mjQzv.jpg

The books answer appears to only be adding the two numbers in the lines labelled X and Y and getting the sum in the line labelled X+Y. It's not adding three numbers.
 
kidi3 said:
Well.. that's what i hoped wasn't the case...

My books says that it's incorrect.

It says that the answer should be

http://snag.gy/mjQzv.jpg

Note that the image you posted SPECIFICALLY only adds X and Y. It does not include the top number of the three.
 
Yeah.. i just realized it myself..
well it only took me 3 hours to realize it..

but thanks anyway :)
 
The very first line is labeled with C to indicate the carries from column to column.
 
jedishrfu said:
The very first line is labeled with C to indicate the carries from column to column.

HA ! good catch !
 
Back
Top