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:
0f016 = 0 f 0 = 0(=0000) f(=1111) 0(=0000) = 111100002
answer: 0f016 = 111100002
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
0∙162+15∙161+0∙160 = 0∙256+15∙16+0∙1 = 0+240+0 = 24010
got It: 0f016 =24010
Translate the number 24010 в binary like this:
the Integer part of the number is divided by the base of the new number system:
240 | 2 | | | | | | | |
-240 | 120 | 2 | | | | | | |
0 | -120 | 60 | 2 | | | | | |
| 0 | -60 | 30 | 2 | | | | |
| | 0 | -30 | 15 | 2 | | | |
| | | 0 | -14 | 7 | 2 | | |
| | | | 1 | -6 | 3 | 2 | |
| | | | | 1 | -2 | 1 | |
| | | | | | 1 | | |
|
the result of the conversion was:
24010 = 111100002
answer: 0f016 = 111100002