Please provide work thank you a Add 10011 to the binary numb
Please provide work, thank you!
a) Add 10011 to the binary number 1100111 using binary addition.
b): Subtract 1101 from the binary number 1011010 using binary subtraction.
c) Subtract 3 (in binary) from the binary number 0110 (6) using only binary addition. For this problem,
you must do subtraction by way of using binary addition, as shown in class (and in the book).
Hint: use the 2s complement of the binary number that represents a decimal 3. Show your work.
Solution
a)
1100111
10011
----------
1111010
b) 1011010
1101
--------------
1001101
c) subtracting 3 is equal to adding -3
converting -3 to 2\'s compliment is 11111101
converting 0110 to 2\'s complimet is 00000110
adding these two will give 00000011
