The Number Systems - Cite - 2

Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

Number REPRESENTATIONS

• For example, the decimal equivalent of the binary


number 11010.11 is 26.75, as shown from the
multiplication of the coefficients by powers of 2:

(26.75)10 = (1 x 24) + (1 x 23) + (0 x 22) + (1 x 21) +


(0 x 20) + (1 x 2-1) + (1 x 2-2)

1
Number REPRESENTATIONS
• In general, a number expressed in Base-r system has
coefficients multiplied by powers of r:

an-1…a2 a1 a0 . a-1 a-2…a-m

(an-1 x rn-1) +…+ (a2 x r2) + (a1 x r1) + (a0 x r0) +


(a-1 x r-1) + (a-2 x r-2) +…+ (a-m x r-m)

2
Number REPRESENTATIONS
• That is, in a system whose base is r, a positive number

N = an-1…a5 a4 a3 a2 a1 a0 . a-1 a-2 a-3 a-4 a-5…a-m

n m
Where:
n constitutes the integral part of N
m constitutes the fractional part of N
3
Number REPRESENTATIONS
• n and m designates the number of digits in the integral
and fractional parts significantly.

N = a5 a4 a3 a2 a1 a0 . a-1 a-2 a-3 a-4

n=6 m=4

The integral and fractional parts are usually separated by a


Radix Point.
4
Number REPRESENTATIONS
• Thus,

N = an-1…a2 a1 a0 . a-1 a-2…a-m


= (an-1 x rn-1) +…+ (a2 x r2) + (a1 x r1) + (a0 x r0) +
(a-1 x r-1) + (a-2 x r-2) +…+ (a-m x r-m)

n-1
N= ar
j = -m
j
j

5
6
Common
Number SYSTEMS
BASE OR RADIX NAME VALID SYMBOLS

2 BINARY / DYADIC 0, 1

3 TERTIARY / TERNARY 0, 1, 2

4 QUATERNARY 0, 1, 2, 3

5 QUINARY / QUINTARY 0, 1, 2, 3, 4

6 SENARY 0, 1, 2, 3, 4, 5

7 SEPTARY / SEPTENARY 0, 1, 2, 3, 4, 5, 6

7
Common
Number SYSTEMS
BASE OR RADIX NAME VALID SYMBOLS

8 OCTAL / OCTENARY 0, 1, 2, 3, 4, 5, 6, 7

9 NONARY 0, 1, 2, 3, 4, 5, 6, 7, 8

10 DECIMAL 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

11 UNDENARY 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A

12 DUODECIMAL / DUODENARY 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B

13 TREDENARY 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C

8
Common
Number SYSTEMS
BASE OR RADIX NAME VALID SYMBOLS

14 QUARTUODENARY 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D

15 QUINDENARY 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E

16 HEXADECIMAL 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F

20 VICENARY / VIGESIMAL

60 SEXAGESIMAL

9
Exercises:
• Give the polynomial notation and determine the equivalent in
Decimal number system of the following:
1. (123)4
2. (356)8
3. (10010.1101)2

10
END OF PRESENTATION

11

You might also like