Metodos numericos
Conversión Método Ejemplo
Binario a
octal sustitución 10111011001.101112 = 010 │111 │011 │001 . 101 │ 110 2 = 2731.568
hexadecimal sustitución10111011001.101112 = 0101 │1101 │1001 . 1011 │ 1000 2 = 5D9.B816
decimal suma 10111011001.101112 = 1x210 + 0x29 + 1x28 + 1x27 + 1x26 + 0x25 +
+ 1x24+ 1x23 + 0x22 + 0x21 + 1x20 + 1x2-1 +
+ 0x2-2 + 1x2-3 + 1x2-4 + 1x2-5 =
= 1024 + 256 + 128 + 64 + 16 + 8+ 1 + 0.5 +
+ 0.125 + 0.0625 + 0.03125 = 1497.7187510
Octal a
binario sustitución 1234.568 = 001 010 011 100 . 101 110 2
hexadecimalsustitución 1234.568 = 001 010 011 100 . 101 110 2 =
= 0010 │1001 │1100 . 1011 │ 1000 2 = 29C.B816
decimal suma 1234.568 = 1x83 + 2x82 + 3x81 + 4x80 + 5x8-1 + 6x8-2 == 1x512 + 2x64 + 3x8 + 4x1 + 5x0.125 + 6x0.015625 =
= 512 + 128 + 24 + 4 + 0.625 + 0.03125 = 668.7187510
Hexadecimal abinario sustitución C0DE.3A16 = 1100 0000 1101 1110 . 0011 1010 2
octal sustitución C0DE.3A16 = 1100 0000 1101 1110 . 0011 1010 2 =
= 001 │100 │000 │011 │011 │110 .001 │ 110 │ 100 2 =
= 140336.164 8
decimal suma C0DE.3A16 = Cx163 + 0x162 + Dx161 + Ex160 + 3x16-1 + Ax16-2 =
= 12x4096 +0x256 + 13x16 + 14x1 + 3x0.0625 +
+ 10x0.00390625 =
= 49152 + 208 + 14 + 0.1875 + 0.0390625 = 49374.226562510
Decimal a(parte entera)
binario división 10810 ÷ 2 = 54 residuo 0 (LSB)
÷ 2 = 27 residuo 0
÷ 2 = 13 residuo 1...
Regístrate para leer el documento completo.