answersLogoWhite

0

One method is to try what powers of 2 you can add up to give the decimal number. For example, 20 in decimal: The next-lower power of 2 is 16; the following powers of two are 8, 4, 2, 1. After subtracting 16, you see how often you can fit the next power-of-two (8); the answer is zero. The next power-of-two (4) fits once. Since nothing is left over, the next two powers-of-two (2 and 1) fit zero times. In summary, you have 1x16, 0x8, 1x4, 0x2, 0x1, which in binary reads 10100.

User Avatar

Wiki User

15y ago

Still curious? Ask our experts.

Chat with our AI personalities

ViviVivi
Your ride-or-die bestie who's seen you through every high and low.
Chat with Vivi
EzraEzra
Faith is not about having all the answers, but learning to ask the right questions.
Chat with Ezra
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

Add your answer:

Earn +20 pts
Q: How do you convrt the decimal number to binary?
Write your answer...
Submit
Still have questions?
magnify glass
imp