Professional Documents
Culture Documents
Short cut:
Divide the number by 'base', and then successively divide the quotients by 'b'. The
remainders, written in reverse order, give the equivalent number in base 'b'.
Example: Write the number 150 in base 5.
150 0
30
0
6
1 1
0
1
864
216 0
0
54
2
13 1
3 3
0
216 0
36 0
6 0
1 1
0
(12)5 =7
(0.234)5 = 2 5-1 + 3 5-2 + 4 5-3 = 69/125 =0.552
So, (12.234)5=(7.552)10
And keep doing this till we get decimal part as zero, i.e. the product should be an integer.
(0.234)10 = (0.1041... )5
So, (12.234) = (22.1041... )5