Here are step-by-step instructions on how to convert the decimal number 4287 to a binary number.
Step A) Determine if 4287 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 4287 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 4287 decimal to binary using the steps above.
4287 → 1
(4287 - 1)/2 = 2143 → 1
(2143 - 1)/2 = 1071 → 1
(1071 - 1)/2 = 535 → 1
(535 - 1)/2 = 267 → 1
(267 - 1)/2 = 133 → 1
(133 - 1)/2 = 66 → 0
(66 - 0)/2 = 33 → 1
(33 - 1)/2 = 16 → 0
(16 - 0)/2 = 8 → 0
(8 - 0)/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:
1000010111111
|
|