Aug 13, 2010

Hexadecimal Number System

The hexadecimal number system, radix 16, consists of 16 symbol (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F)
This is 2×256 + 14×16 +6×1 + 10× (1/16) + 3× (1/256)
(=742.63671 in Decimal)

How to Show that a Number is hexadecimal

The hexadecimal number follows with a little 16: A4316

Conversion hexadecimal numbers into decimal
Let us take an example
Convert 2E616   into decimal
                    6*160=6*1=6
+     E*161=14*16=224
+     2*162=2*256=512 ===========742
So (2E6)16= (742)10
Note    A=10, B=11, C=12, D=13, E=14, F=15

Conversion decimal numbers into hexadecimal

Let us take an example
Convert (742)10 into binary

clip_image002                        724/16= 46 +++     6--------------------- (carry)
 46/16= 2 +++ 14=E   ---------------------- (carry)
 2/16= 0 +++          2----------------------- (carry)
So (742)10   = (2E6)16