Symbol | Meaning | Group |
---|---|---|
I | Unit Symbol | Ones |
V | 5 I's | Ones |
X | 10 I's | Tens |
L | 50 I's | Tens |
C | 100 I's | Hundreds |
D | 500 I's | Hundreds |
M | 1,000 I's | Thousands |
Symbol | Decimal Equiv |
---|---|
A | 10 |
B | 11 |
C | 12 |
D | 13 |
E | 14 |
F | 15 |
2|893 --- 2|446 R 1 --- 2|223 R 0 --- 2|111 R 1 --- 2|55 R 1 -- 2|27 R 1 -- 2|13 R 1 -- 2|6 R 1 - 2|3 R 0 - 1 R 1
8|893 --- 8|111 R 5 ---- 8|13 R 7 -- 1 R 5
16|893 --- 16|55 R 13 (D) -- 3 R 7
.46875*4 = 1.875 (Keep the 1) .875 * 4 = 3.5 (Keep the 3) .5 * 4 = 2.0 (Keep the 2)
.6*8 = 4.8 - .4 .8*8 = 6.4 - .46 .4*8 = 3.2 - .463 .2*8 = 1.6 - .4631 .6*8 = 4.8 - .46314
27 = 0110112 13 = 011012 27+13, just do it. 0+ 11011 + 0+ 01101 ------ 0+101000 27-13 13 is smaller than 27, so subtract and keep the sign. 0 + 11011 - 0 + 01101 --------- 0 + 01110 13-27, 27 is larger, so subtract 13 from 27 and change the sign 0 + 11011 - 0 + 01101 --------- 1 + 01110 Other cases are much the same. (-13+27, -27+13, ...)
23 = 0001 0111, flip the bits 1110 1000 + 0000 0001 ----------- 1110 1001
3 bit two's compliment | Decimal |
---|---|
000 | 0 |
001 | 1 |
010 | 2 |
011 | 3 |
100 | -4 |
101 | -3 |
110 | -2 |
111 | -1 |
010 + 111 --- 001
100 0100 110 0001 100 1110 - what is this? 4 4 6 1 6 E D a n
Letter | Frequency | Huffman Code |
---|---|---|
+ | .48 | 1 |
- | .29 | 01 |
= | .18 | 001 |
/ | .05 | 000 |
Letter | Frequency |
---|---|
+ | .48 |
- | .29 |
= | .18 |
/ | .05 |
Letter | Code |
---|---|
+ | 0 |
- | 10 |
= | 110 |
/ | 111 |