Chapter 12 Applications of other Bases
Convert black and white images to a sequence of numbers.
Convert a sequence of numbers into an image.
Identify colors given as hexadecimal triplets.
Compare shades of grey given as hexadecimal triplets.
Convert a text into a number.
Convert a number into a text.
Numbers in bases other than the familiar base 10 have many real world applications. Base 12 used to be popular and is still used in packaging sizes. Computers internally represent everything as base 2 numbers. In this section, we give three real world examples of ways numbers in bases other than base 10 are used — the encoding of images by numbers description of colors as triples of hexadecimal numbers, and the encoding of texts by numbers.