Question 6 of 17intermediate🔧 ApplyNumerical4 marks

Express the following decimal numbers into hexadecimal numbers.

(i)

548

Answer

(224)_16

(ii)

4052

Answer

(FD4)_16

(iii)

58

Answer

(3A)_16

(iv)

100.25

Answer

(64.4)_16

Explanation

To convert a decimal number to hexadecimal, we use the division method for the integer part and the multiplication method for the fractional part. For the integer part, the decimal number is repeatedly divided by 16, and the remainders are collected in reverse order (bottom to top). For the fractional part, the decimal fraction is repeatedly multiplied by 16, and the integer parts of the products are collected in the order they appear (top to bottom), as shown in Example 2.16. Symbols A-F are used for remainders 10-15 based on Table 2.6.