Base 16

Le cifre sono 16: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F

La base delle potenze è 16 (HEXadecimal, H)

Contare in base 16


Da base 16 a base 10


(101)H = (?)10

(101)16 = 1·1620·1611·160
= 1·256 + 0·16 + 1·1
= 256 + 0 + 1
= (257)10


(5B6)H = (?)10

(5B6)H = 5·162 + B·161 + 6·160
= 5·256 + 11·16 + 6·1
= 1280 + 176 + 6
= (1462)10


Da base 10 a base 16


(100)10 = (?)H

(100)10 = (64)H


(250)10 = (?)H

(250)10 = (FA)H


Con il foglio di calcolo

  • BASE(100, 16) -> 64
    • BASE(100, 16, 4) -> 0064
  • DECIMALE(64, 16) -> 100
  • DECIMALE.HEX(100) -> 64
    • DECIMALE.HEX(100, 4) -> 0064
  • HEX.DECIMALE(64) -> 100

(100)10 = (?)H

100 = 16+16+16+16+16+16 + 4 = 16+16+16+16+16+16 + 1+1+1+1
100 = 6·161 + 4·160
(100)10 = (64)H


(250)10 = (?)H

250 = 16+16+16+16+16+16+16+16+16+16+16+16+16+16+16 + 10
= 16
+16+16+16+16+16+16+16+16+16+16+16+16+16+16 + 1+1+1+1+1+1+1+1+1+1
250 = 15·161 + 10·160
(250)10 = (FA)H



Codifica: Python

Notice: This work is licensed under a BY-NC-SA. Permalink: Base 16

Comments are closed.