105k views
1 vote
0.124

0.124five \: base \: two


1 Answer

1 vote

Let x be the number equal to 0.124₅, so that

x = 1•5⁻¹ + 2•5⁻² + 4•5⁻³

Multiply x by 5³ to convert it to a whole number:

x = 1•5² + 2•5¹ + 4•5⁰

Convert everything to base 2:

5³ = 125 = 64 + 32 + 16 + 8 + 4 + 1 = 1111101₂

1•5² + 2•5¹ + 4•5⁰ = 25 + 10 + 4 = 39 = 32 + 4 + 1 = 100111₂

Then

1111101₂ x = 100111₂

so that

x = 100111₂ / 1111101₂

I've carried out the first several steps in the division in the attached table, with more bits added to the result. The number in base 2 does not terminate. You end up with approximately

0.010011111101111100111...₂

0.124 0.124five \: base \: two ​-example-1
0.124 0.124five \: base \: two ​-example-2
User Marco Herrarte
by
8.6k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories