Demonstrate how you add the numbers 1112, 1102, 11002, 1012, and 11112. Check your answer by calculating the decimal numbers for the above.
We need to add :
(111)2 + (110)2 + (1100)2 + (101)2 + (1111)2
Step 1:
1 1 1
1 1 0
---------------
1 1 0 1
---------------
Step 2: Now Add
(1101)2 + (1100)2
1 1 0 1
1 1 0 0
--------------------
1 1 0 0 1
---------------------
Step 3: Now Add
(11001)2 + (101)2
1 1 0 0 1
1 0 1
---------------------
1 1 1 1 0
---------------------
Step 4: Now Add
(11110)2 + (1111)2
1 1 1 1 0
1 1 1 1
---------------------------
1 0 1 1 0 1 ------------------------------- (1)
---------------------------
Checking the answer
Now convert the decimals into Binary equivalent.
(111 )2 = 7
(110)2 = 6
(1100)2 = 12
(101)2 = 5
(1111)2 = 15
Sum =7 + 6 +12 +5 +15
Sum = 45
(45)10 =(101101)2 Which is equal to equation (1)
Comments
Leave a comment