25.08.2021 Views

082-Engineering-Mathematics-Anthony-Croft-Robert-Davison-Martin-Hargreaves-James-Flint-Edisi-5-2017

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

14 Chapter 1 Review of algebraic techniques

(b) We repeat the process by repeatedly dividing 200 by 2 and noting the remainder.

Remainder

200÷2=100r0 0

100÷2= 50r0 0

50÷2= 25r0 0

25÷2= 12r1 1

12÷2= 6r0 0

6÷2= 3r0 0

3÷2= 1r1 1

1÷2= 0r1 1

Readingtheremaindercolumnfromthebottomtothetopgivestherequiredbinary

number:

200 10

= 11001000 2

1.3.3 Hexadecimalsystem

We now consider the number system which uses 16 as a base. This system is termed

hexadecimal (or simply hex). There are 16 digits in the hexadecimal system: 0, 1, 2,

3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F. Notice that conventional decimal digits are

insufficient to represent hexadecimal numbers and so additional ‘digits’, A, B, C, D, E,

andF,areincluded.Table1.2showstheequivalencebetweendecimalandhexadecimal

digits. Hexadecimal numbers are based on powers of16.

Table1.2

Hexadecimal numbers.

Decimal Hexadecimal Decimal Hexadecimal

0 0 8 8

1 1 9 9

2 2 10 A

3 3 11 B

4 4 12 C

5 5 13 D

6 6 14 E

7 7 15 F

Convertingfromhexadecimaltodecimal

The following example illustrates how to convert from hexadecimal to decimal. We

use the fact that as we move from right to left, the position of each digit represents an

increasing power of 16.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!