Binary Code: How To Calculate Numerical Binary
Binary Code: How To Calculate Numerical Binary
Binary Code: How To Calculate Numerical Binary
Binary Code
20 21 22 23 24 25 26 27 28 29
3. Deduct the highest value from your number and get a remainder
4. Find the highest value to fit the remainder
5. Deduct the highest value from the remainder
6. Continue with steps 3 - 5 to have all of your calculations in multiples of 2
7. Write the highest value that you used
8. Add a zero then 1 to start off - Zero is not necessary
9. Write from left to right if you are doing from high to low or vice versa
10. Write if you used all the other multiples of 2 in the process to find the best fit
11. If yes add 1 if not add 0
Examples
Finding 38 in binary
38 - 32 = 6
38 - 32= 4 + 2
= 0100110
20 21 22 23 24 25
1 2 4 8 16 32
Finding 95 in binary
95 - 64 = 31 = 16 + 15 = 8 + 4 + 2 + 1
95 = 1 + 2 + 4 + 8 + 16 + 64
Binary 3
= 1011111
It is read from right to left.
1 2 4 8 16 32 64
This process involves the same step although the layout is horizontal instead of
vertical.
162 - 128 = 34 = 32 + 2
=10100010
20 21 22 23 24 25 26 27
1 2 4 8 16 32 64 128
01000000000
20 21 22 23 24 25 26 27 28 29
Different Calculations
In binary all number calculations are possible as they are just numbers formatted as
1&0. They use the same type of formatting as there is in base 10 calculations so it is
easy to get the hang of.
Binary 4
Addition
56 + 43 = 99
56
+43
--------
99
This is a basic addition formula where the numbers are added on top of eachother
and added onto each other. Binary is quite similar in this process it uses the same
method and format of calculation but is limited to 1’s and 0’s.
The first step would be to convert the 10 base numbers into binary. If 1 & 1 are
together they make 2 but that is represented in binary as 10. So then the 0 will be
kept in place and the 1 will be carried like every 10 base equation that goes beyond 9.
Although if it is 1 & 0 then the numbers will make 1. If perchance the numbers go
beyond 2 they are represented using binary and the first digit on the right is
stationary while the rest of the number is carried.
56 - 32 = 24 -16 = 8
111000
43 - 32 = 11 - 8 = 3 = 2 + 1
101011
111000
+101011
-------------
1100011
In this case at the end a 3 was made so in binary a 3 is represented as 11. We can even
check our answer by adding up all the numbers that were used in the process.
64 + 32 + 0 + 0 + 0 + 2 + 1 = 99
Subtraction
Binary 5
Subtraction in binary is layout in the same way as the 10 base number system
addition and subtraction.
56
- 43
-------
13
This is a standard setup where you get remainders and use the number on the left.
Just like in adding binary you format the numbers vertically and minus each place
value by its own. As well as that first of all you need to find the binary number for
both these numbers.
111000
- 101011
-------------
001101
There are a few generalistic rules to follow when subtracting
0-0=0
1-1=0
1-0=0
0-1=?
This will need a one to back up the number 0 and make it 10 which is 2 in base 10.
We can recheck our answers by adding all the place values up.
0 + 0 + 8 + 4 + 0 + 1 = 13
Multiplication
Multiplication in binary is the exact same format and steps. The procedures though
slightly differ at the addition bit it still represents the same answer.
56
X 43
---------
2408
Like all the other calculations the first step is to change the number into its binary
context. The rest of the steps are the exact same multiplication steps that you do in
base 10 calculations.
111000
X 101011
Binary 6
----------------
111000
111000x
000000xx
111000xxx
000000xxxx
111000xxxxx
------------------
100101101000
There were many steps or procedures to this multiplication as the binary code has
more symbols to represent the same number compared to the 10 base system. This
calculation is very easy because the only times table there is to know is the 1’s times
table the rest is just addition which had been mentioned before in the report. We can
check our answer by adding up all of the place values.
Division
The process of binary division is similar to long division in the decimal system. The
dividend is still divided by the divisor in the same manner, with the only significant
difference being the use of binary rather than decimal subtraction.
69 ÷ 23 = 3
The first step which has been the first step in all of them is to convert your numbers
into binary.
1000101 ÷ 10111
In this calculation the divisor was large enough to occupy 5/7 of the dividend which
made lots of 0's. The process of elimination or carrying will support this to become
easier.
2 is represented as 10. If you have any number more than 1 that will turn into a
remainder and will be carried for the next operation.
Subtraction- As mentioned before subtraction has very clear and certain rules 0 - 0
= 0, 1 - 1 = 0, 1 - 0 = 0, 0 - 1 = ? The last one would need a carry 1 to make the
number 2 as 10 s 2 to complete the equation other use it would be negative and that
would not work if you were doing binary.
Multiplication- The rules of multiplication in binary are exactly the same as the 10
base numerical system. You need to add a space on the right of each number you go
further down. Another rule would be that you have to multiply a single number at a
time not all in a clot with remainders. Lastly, you would have to add up all the
gathered data.
Division- The rules of division can vary to if you are doing short or long division.
Mostly you should add the number of times the number goes into the other number
in the form of the boolean symbols.