Binary Addition Homework: 010110000000000 & More

  • Thread starter Thread starter ee1215
  • Start date Start date
  • Tags Tags
    Addition Binary
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
ee1215
Messages
27
Reaction score
0

Homework Statement



010110000000000
011001000000000
001100010000000
100100001000000
110100000000100
111100000000001
+
-------------------

Homework Equations





The Attempt at a Solution


The answer I get is 1010111011000101
but I have used MATLAB and the first four digits are backwards on my answer per matlab. I am confused on how they get that when carrying the 1 starting with the 12th row from the right.
 
Physics news on Phys.org
ee1215 said:

Homework Statement



010110000000000
011001000000000
001100010000000
100100001000000
110100000000100
111100000000001
+
-------------------

Homework Equations





The Attempt at a Solution


The answer I get is 1010111011000101
but I have used MATLAB and the first four digits are backwards on my answer per matlab. I am confused on how they get that when carrying the 1 starting with the 12th row from the right.

Rows are horizontal. Columns are vertical, just like the columns in a building. Starting from the 4th column from the left, you're adding 1 + 1 + 1 + 1 + 1 = 5 = 1012. You have a 0 at that position, and you should have a 1, and you need to carry 4 (or 1002).