
13Number Systems
where p = place of the digit = 0, 1, 2, ...., (pmax 3), (pmax 2) or (pmax 1), from right
to left, and pmax is maximum the number of places used in the representation and base
(basic weight). w
0
= 10 for decimal numbers, 8 for octal numbers, 2 for binary numbers
and 16 for hexadecimal numbers. The y
0
, y
1
, y
2
, ... are the digits. The
w
p
0
is weight at the
place p. In case of decimal numbers, each digit = 0 or 1 or 3 or ... or (w
0
1) at the right-
most, left first from that, left second from that and so on till left (pmax 1)
th
position.
2.3 USE OF BINARY NUMBERS TO REPRESENT A NUMBER
A binary number is a number based upon two values, ...