This transfer is possible in two ways: direct transfer and using the decimal system.
first, let\'s make a direct transfer.
let\'s do a direct translation from hexadecimal to binary like this:
34.2516 = 3 4. 2 5 = 3(=0011) 4(=0100). 2(=0010) 5(=0101) = 110100.001001012
answer: 34.2516 = 110100.001001012
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
3∙161+4∙160+2∙16-1+5∙16-2 = 3∙16+4∙1+2∙0.0625+5∙0.00390625 = 48+4+0.125+0.01953125 = 52.1445312510
got It: 34.2516 =52.1445312510
Translate the number 52.1445312510 в binary like this:
the Integer part of the number is divided by the base of the new number system:
52 | 2 | | | | | |
-52 | 26 | 2 | | | | |
0 | -26 | 13 | 2 | | | |
| 0 | -12 | 6 | 2 | | |
| | 1 | -6 | 3 | 2 | |
| | | 0 | -2 | 1 | |
| | | | 1 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 14453125*2 |
0 | .28906*2 |
0 | .57813*2 |
1 | .15625*2 |
0 | .3125*2 |
0 | .625*2 |
1 | .25*2 |
0 | .5*2 |
1 | .0*2 |
the result of the conversion was:
52.1445312510 = 110100.001001012
answer: 34.2516 = 110100.001001012