This transfer is possible in two ways: direct transfer and using the decimal system.
first, let\'s make a direct transfer.
let\'s translate to decimal like this:
2∙82+1∙81+5∙80 = 2∙64+1∙8+5∙1 = 128+8+5 = 14110
got It: 2158 =14110
Translate the number 14110 в hexadecimal like this:
the Integer part of the number is divided by the base of the new number system:
141 | 16 | |
-128 | 8 | |
D | | |
|
the result of the conversion was:
14110 = 8D16
answer: 2158 = 8D16
now let\'s make the transfer using the decimal system.
let\'s do a direct translation from octal to binary like this:
2158 = 2 1 5 = 2(=010) 1(=001) 5(=101) = 0100011012
answer: 2158 = 100011012
let\'s do a direct translation from binary to hexadecimal like this:
100011012 = 1000 1101 = 1000(=8) 1101(=D) = 8D16
answer: 100011018 = 8D16