1001101-00101
4 answers
1,001,000 from what I understand but im not sure
1,001,101 - 101 = 1,001,000
I have a question. Is this binary (base 2) or are these the actual numbers in base 10? That's really important to know.
I strongly suspect that these numbers are in base 2
However, just like in any other base, usually a number does not start with zero
If you doing any extensive work with this, I suggest you look at
an addition and a multiplication table in base 2. You can then perform the 4 basic operations in base 2 following the same algorithms you use in base 10
or
you could change the numbers to base 10, do the arithmetic, then change back to base 2
10011012 = 2^6 + 2^3 + 2^2 + 1 = 7710
001012 = 2^2 + 1 = 5
[ 77 - 5 = 72 ]10
722 = 64+8
= 2^6 + 0 + 0 + 2^3 + 0 + 0 + 0
= 10010002
Notice the answer would be same in both base 2 and base 2, since there would be no "borrowing" in the subtraction
However, just like in any other base, usually a number does not start with zero
If you doing any extensive work with this, I suggest you look at
an addition and a multiplication table in base 2. You can then perform the 4 basic operations in base 2 following the same algorithms you use in base 10
or
you could change the numbers to base 10, do the arithmetic, then change back to base 2
10011012 = 2^6 + 2^3 + 2^2 + 1 = 7710
001012 = 2^2 + 1 = 5
[ 77 - 5 = 72 ]10
722 = 64+8
= 2^6 + 0 + 0 + 2^3 + 0 + 0 + 0
= 10010002
Notice the answer would be same in both base 2 and base 2, since there would be no "borrowing" in the subtraction