answersLogoWhite

0

1. Write out the powers of 2 from 20 = 1 (in right to left order, ie ... 16 8 4 2 1) until you get a power greater than or equal to the number you wish to convert.

2. Put a one (1) under the highest power of 2 that is less than or equal to the number

3. Subtract that power from the number.

4. If the result of the subtraction is not zero, find the next power of 2 not greater than the result of the subtraction and repeat from step 3.

5. Put a zero (0) under all powers of 2 which have nothing under them.

6. The result (under the powers of 2) is the number in base 2.

Example to convert 948 base 10 to base 2:

Write out the powers of 2 until greater than or equal to 948:

Powers: 1024...512...256...128...64...32...16...8...4...2...1

First power less than or equal to 958 is 512:

Powers: 1024...512...256...128...64...32...16...8...4...2...1

Result:.....................1.......................................................................

948 - 512 = 436

Next power not greater than 436 is 256:

Powers: 1024...512...256...128...64...32...16...8...4...2...1

Result:.....................1........1..............................................................

436 - 256 = 180 → 128:

Powers: 1024...512...256...128...64...32...16...8...4...2...1

Result:.....................1........1.........1.................................................

180 - 128 = 52 → 32:

Powers: 1024...512...256...128...64...32...16...8...4...2...1

Result:.....................1........1.........1...............1...............................

52 - 32 = 20 → 16

Powers: 1024...512...256...128...64...32...16...8...4...2...1

Result:.....................1........1.........1...............1......1.......................

20 - 16 = 4 → 4:

Powers: 1024...512...256...128...64...32...16...8...4...2...1

Result:.....................1........1.........1..............1......1..........1...........

4 - 4 = 0, so fill in the zeros:

Powers: 1024...512...256...128...64...32...16...8...4...2...1

Result:.....................1........1.........1.......0.....1......1....0...1...0...0

Thus 95810 = 11 1011 01002

(If the powers are written out in ascending order (from left to right), reverse the final result.)

User Avatar

Wiki User

12y ago

Still curious? Ask our experts.

Chat with our AI personalities

DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin
FranFran
I've made my fair share of mistakes, and if I can help you avoid a few, I'd sure like to try.
Chat with Fran
RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa

Add your answer:

Earn +20 pts
Q: How do you convert from base 10 to base 2 without division?
Write your answer...
Submit
Still have questions?
magnify glass
imp