Page 95 - Understanding Automotive Electronics
P. 95
2735 | CH 3 Page 82 Tuesday, March 10, 1998 11:03 AM
3 ELECTRONICS FUNDAMENTALS
values. Table 3.2 shows the binary equivalent for some decimal numbers. For
example, the binary number 0010 is read as “zero, zero, one, zero’’—not “ten.”
To convert from binary to decimal, just multiply each binary digit by its
place value and add the products. For instance, the decimal equivalent of the
binary number 1010 is given by
( 1010) 2 = ( 1 × 8) + ( 0 × 4) + ( 1 × 2) + ( 0 × 1)
= 8 + 2
= 10 10
1010 means that the number is a base 2, or binary, number. 10 means the
2
10
number is a base 10, or decimal, number. Normal notation eliminates the
subscripts 2 and 10 if the number system is clear from the context.
Table 3.2
Comparison of
Numbers
in Different Bases
Decimal (Base 10) Binary (Base 2)
0 0000
1 0001
2 0010
3 0011
4 0100
5 0101
6 0110
7 0111
8 1000
9 1001
10 1010
11 1011
12 1100
13 1101
14 1110
15 1111
16 10000
255 11111111
256 100000000
82 UNDERSTANDING AUTOMOTIVE ELECTRONICS