Yesterday, I explained how the computer works and calculates numbers. I showed you how to do addition and subtraction with binary numbers. Today, I will show you how to multiply and divide binary numbers. If you didn’t look at the post I did yesterday, I highly recommend you check that one out first because with multiplication and division, would will need to know addition and subtraction, and in the post from yesterday, I explained how to do addition and subtraction.
First, let’s start with multiplication. When multiplying binary numbers, you would set to the problem like a normal long multiplication problem. Now, you would start doing the multiplication like you would a normal multiplication problem. If you are doing 0*0, you put down a zero. if you are doing 1*0 or 0*1, you put down a zero. But if you are doing 1*1, you put down a one. There is no carrying when multiplying binary numbers. Then, like in normal multiplication, you would place the 0 as a place holder and continue on like a normal multiplication problem. Then at the end. Finally, you would add like in normal multiplication but using binary addition taught yesterday.
Now, let’s do division. Division is pretty much the same thing as long division in base 10. You find the multiple of the number below the greater number that is closest. But in binary, you can only use ones and zeros. So you would just put either a one or a zero depending on what there was. Then, you would put that multiple and subtract like in normal long division. You keep on repeating the process until you are finished the problem.
In conclusion, you now should be at least somewhat familiar with binary numbers, how to convert, and addition, subtraction, multiplication, and division. Hopefully, you should be able to do some basic problems using binary numbers and decimal numbers (base ten numbers.) If you are still a little confused about one of the operations, I’ll recommend a few great sites that really explain the content well. sites. One, http://www.binarymath.info/multiplication-division.php. And two, https://sciencing.com/computer-calculate-numbers-4705975.html. Hope you enjoyed this post. Be sure to stay tuned for posts in the future a lot like this one!