This transfer is possible in two ways: direct transfer and using the decimal system.
first, let\'s make a direct transfer.
Fill in the number with missing zeros on the left
Fill in the number with missing zeros on the right
let\'s do a direct translation from binary to hexadecimal like this:
0001011011101101.0011110110002 = 0001 0110 1110 1101. 0011 1101 1000 = 0001(=1) 0110(=6) 1110(=E) 1101(=D). 0011(=3) 1101(=D) 1000(=8) = 16ED.3D816
answer: 0001011011101101.0011110110002 = 16ED.3D816
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
0∙215+0∙214+0∙213+1∙212+0∙211+1∙210+1∙29+0∙28+1∙27+1∙26+1∙25+0∙24+1∙23+1∙22+0∙21+1∙20+0∙2-1+0∙2-2+1∙2-3+1∙2-4+1∙2-5+1∙2-6+0∙2-7+1∙2-8+1∙2-9+0∙2-10+0∙2-11+0∙2-12 = 0∙32768+0∙16384+0∙8192+1∙4096+0∙2048+1∙1024+1∙512+0∙256+1∙128+1∙64+1∙32+0∙16+1∙8+1∙4+0∙2+1∙1+0∙0.5+0∙0.25+1∙0.125+1∙0.0625+1∙0.03125+1∙0.015625+0∙0.0078125+1∙0.00390625+1∙0.001953125+0∙0.0009765625+0∙0.00048828125+0∙0.000244140625 = 0+0+0+4096+0+1024+512+0+128+64+32+0+8+4+0+1+0+0+0.125+0.0625+0.03125+0.015625+0+0.00390625+0.001953125+0+0+0 = 5869.24023437510
got It: 0001011011101101.0011110110002 =5869.24023437510
Translate the number 5869.24023437510 в hexadecimal like this:
the Integer part of the number is divided by the base of the new number system:
5869 | 16 | | | |
-5856 | 366 | 16 | | |
D | -352 | 22 | 16 | |
| E | -16 | 1 | |
| | 6 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 240234375*16 |
3 | .84375*16 |
D | .5*16 |
8 | .0*16 |
the result of the conversion was:
5869.24023437510 = 16ED.3D816
answer: 0001011011101101.0011110110002 = 16ED.3D816