English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

This is a binary substraction problem:
( 10010101 - 110101)
Please solve problem and tell me easy way(without calculator) to solve binary substraction in description.

2006-11-09 04:39:46 · 6 answers · asked by star123 2 in Science & Mathematics Mathematics

6 answers

10010101
. - 110101
----------------
.. 1100000


remember 100-1 = 11

2006-11-09 05:01:42 · answer #1 · answered by davidosterberg1 6 · 0 0

Solve it exactly the same way you would solve a decimal subtraction problem, by writing the second number below the first and then borrowing as needed. Just remember that 10 - 1 = 1 in binary.

2006-11-09 04:43:54 · answer #2 · answered by DavidK93 7 · 1 0

To perform a binary subtraction you first have to represent the number to be subtracted in its negative form. This is known as its two's complement.
The two's complement of a binary number is obtained by:


Replacing all the 1's with 0's and the 0's with 1's. This is known as its one's complement.

Adding 1 to this number by the rules of binary addition.

Now you have the two's complement.

Example:
The decimal subtraction 29 - 7 = 22 is the same as adding (29) + (-7) = 22


Convert the number to be subtracted to its two's complement:

00000111 (decimal 7)
11111000 (one's complement)
+ 00000001 (add 1)
11111001 (two's complement)

11111001 now represents -7.


Add

29 00011101
+- 7 11111001
22 (1)00010110

Note that the final carry 1 is ignored.

2006-11-09 05:06:58 · answer #3 · answered by Smutty 3 · 0 0

10010101
110101
-------------
01100000
the same way as you would subtract in the decimal system
the only difference is when you borrow from zero it will not be 10. it ill be 2

2006-11-09 04:55:34 · answer #4 · answered by raj 7 · 0 0

nah it dnt i dnt get it sorri x

2006-11-09 04:48:35 · answer #5 · answered by Kerry Smith 1 · 0 0

10010101
)))110101
----------------
)1100000

2006-11-09 05:08:18 · answer #6 · answered by Dr. J. 6 · 0 0

fedest.com, questions and answers