Solution Found!
Add (10111)2 and (11010)2 by working through each step of
Chapter 4, Problem 51E(choose chapter or problem)
QUESTION:
Problem 51E
Add (10111)2 and (11010)2 by working through each step of the algorithm for addition given in the text.
Questions & Answers
QUESTION:
Problem 51E
Add (10111)2 and (11010)2 by working through each step of the algorithm for addition given in the text.
ANSWER:
Solution
In this question we have to add (10111)2 and (11010)2 through each step of algorithm.
Step 1
Given that n=5 and initially c =0
Also ,
Now by setting d as a floor of
So,
that is equal to 1 which gives c=0 .
The rightmost digit is of the answer is 1 and 0 is carried into the next column.