Problem
- Express the decimal numbers 19 and 10 as binary numbers.
- Add the binary numbers together and convert the sum to a decimal number.
- Multiply the two binary numbers and convert the product to decimal form.
Background
Mathematical operations are carried out in binary arithmetic in the same way as in decimal arithmetic. As an example of the similarity between decimal and binary arithmetic, when we add 75 to 129, we add 9 to 5 in the right-hand column and get 4 plus 1 to be carried to the next column. In binary addition, we have only the digits 1 and 0; when we add 1 to 1 we get 0 plus 1 to carry to the next column. In subtraction, when we subtract 1 from 0 we must borrow 1 from the next nonzero column to the left. Multiplication is identical in the two systems. To express a decimal number as a binary number, we subtract the largest power of 2 that is less than the decimal number, then follow the same procedure with the remainders until we end up with 1 or 0.
Solution
-
-
-

Continue reading
Also in this chapter
External links
find literature about Binary numbers
|
|
|
|
|
|
|
|