1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Binary addition

  1. Jan 30, 2013 #1
    1. The problem statement, all variables and given/known data
    Addition.

    3 binarynumbers

    101111000
    10111110
    + 10001101

    3. The attempt at a solution
    111
    111111
    101111000
    10111110
    + 10001101
    1011000011

    Is it correct?
     
  2. jcsd
  3. Jan 30, 2013 #2

    jedishrfu

    Staff: Mentor

    You need to align them to make it easier to evaluate. Also I think your carries weren't lined up either.

    Code (Text):

       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: Jan 30, 2013
  4. Jan 30, 2013 #3
    Well.. thats 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
     
  5. Jan 30, 2013 #4

    Dick

    User Avatar
    Science Advisor
    Homework Helper

    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.
     
  6. Jan 30, 2013 #5

    phinds

    User Avatar
    Gold Member
    2016 Award

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

    but thanks anyway :)
     
  8. Jan 30, 2013 #7

    jedishrfu

    Staff: Mentor

    The very first line is labeled with C to indicate the carries from column to column.
     
  9. Jan 30, 2013 #8

    phinds

    User Avatar
    Gold Member
    2016 Award

    HA ! good catch !
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Binary addition
  1. Binary Relations (Replies: 25)

  2. Addition Of Exponents (Replies: 3)

  3. Binary to decimal. (Replies: 4)

  4. Addition Proof (Replies: 2)

Loading...