Here are step-by-step instructions on how to convert the decimal number 9811 to a binary number.
Step A) Determine if 9811 is an even or odd number. If it is even, you assign a 0 and if it is odd you assign a 1.
Step B) Deduct the 1 or 0 in step A from 9811 and then divide it by 2. Then, you see if that number is even or odd
and then assign a 0 or 1 like step A.
Step C) Repeat step B with the new number until the number you get is 1.
Step D) Put all the 0s and 1s you assigned in reverse order to get the answer.
To illustrate better, we detailed below how we converted 9811 decimal to binary using the steps above.
9811 → 1
(9811 - 1)/2 = 4905 → 1
(4905 - 1)/2 = 2452 → 0
(2452 - 0)/2 = 1226 → 0
(1226 - 0)/2 = 613 → 1
(613 - 1)/2 = 306 → 0
(306 - 0)/2 = 153 → 1
(153 - 1)/2 = 76 → 0
(76 - 0)/2 = 38 → 0
(38 - 0)/2 = 19 → 1
(19 - 1)/2 = 9 → 1
(9 - 1)/2 = 4 → 0
(4 - 0)/2 = 2 → 0
(2 - 0)/2 = 1 → 1
Then you put the binary number above in reverse order and you get the answer:
10011001010011
|
|