211
MATH1003 10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001 1.9 Converting from Decimal to Binary and Hexadecimal

Math1003 1.9 - Converting Decimal to Binary and Hex

Embed Size (px)

Citation preview

Page 1: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

1.9Converting from Decimal to Binary and

Hexadecimal

Page 2: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Goal

To be able to correctly convert a decimal numberinto a binary number and a hexadecimal number.

Page 3: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Convert 20 to a binary number.

Page 4: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

0 1 0 1 0 0

Place value32 16 8 4 2 1

Place value25 24 23 22 21 20

Convert 20 to a binary number.

Page 5: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

0 1 0 1 0 0

Place value32 16 8 4 2 1

Place value25 24 23 22 21 20

Convert 20 to a binary number.

Which bits need to be turned on?

Page 6: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

0 1 0 1 0 0

Place value32 16 8 4 2 1

Place value25 24 23 22 21 20

Convert 20 to a binary number.

Which bits need to be turned on?

Page 7: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

0 1 0 1 0 0

Place value32 16 8 4 2 1

Place value25 24 23 22 21 20

Convert 20 to a binary number.

Which bits need to be turned on?

Page 8: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

0 1 0 1 0 0

Place value32 16 8 4 2 1

Place value25 24 23 22 21 20

Convert 20 to a binary number.

Which bits need to be turned on?

Page 9: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

0 1 0 1 0 0

Place value32 16 8 4 2 1

Place value25 24 23 22 21 20

Convert 20 to a binary number.

Which bits need to be turned on?

Page 10: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

0 1 0 1 0 0

Place value32 16 8 4 2 1

Place value25 24 23 22 21 20

Convert 20 to a binary number.

20 = 0101002

Page 11: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

0 1 1 0 1 0

Place value 32 16 8 4 2 1

Convert 26 to a binary number.

Which bits need to be turned on?

Page 12: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

0 1 1 0 1 0

Place value 32 16 8 4 2 1

Convert 26 to a binary number.

Which bits need to be turned on?

Page 13: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

0 1 1 0 1 0

Place value 32 16 8 4 2 1

Convert 26 to a binary number.

Which bits need to be turned on?

Page 14: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

0 1 1 0 1 0

Place value 32 16 8 4 2 1

Convert 26 to a binary number.

Which bits need to be turned on?

Page 15: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

0 1 1 0 1 0

Place value 32 16 8 4 2 1

Convert 26 to a binary number.

Which bits need to be turned on?

Page 16: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

0 1 1 0 1 0

Place value 32 16 8 4 2 1

Convert 26 to a binary number.

26 = 0110102

Page 17: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

1 0 0 1 1 1

Place value 32 16 8 4 2 1

Convert 39 to a binary number.

Which bits need to be turned on?

Page 18: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

1 0 0 1 1 1

Place value 32 16 8 4 2 1

Convert 39 to a binary number.

Which bits need to be turned on?

Page 19: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

1 0 0 1 1 1

Place value 32 16 8 4 2 1

Convert 39 to a binary number.

Which bits need to be turned on?

Page 20: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

1 0 0 1 1 1

Place value 32 16 8 4 2 1

Convert 39 to a binary number.

Which bits need to be turned on?

Page 21: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

1 0 0 1 1 1

Place value 32 16 8 4 2 1

Convert 39 to a binary number.

Which bits need to be turned on?

Page 22: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

1 0 0 1 1 1

Place value 32 16 8 4 2 1

Convert 39 to a binary number.

Which bits need to be turned on?

Page 23: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

1 0 0 1 1 1

Place value 32 16 8 4 2 1

Convert 39 to a binary number.

39 = 1001112

Page 24: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Binary Numbers

Digit(Face value)

1 1 1 1 1 1

Place value 32 16 8 4 2 1

What’s the biggest number that can berepresented by 6 bits?

Page 25: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Binary Numbers

Digit(Face value)

1 1 1 1 1 1

Place value 32 16 8 4 2 1

What’s the biggest number that can berepresented by 6 bits?

Page 26: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Binary Numbers

Digit(Face value)

1 1 1 1 1 1

Place value 32 16 8 4 2 1

What’s the biggest number that can berepresented by 6 bits?

1111112 = 63

Page 27: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Binary Numbers

Digit(Face value)

1 1 1 1 1 1

Place value 32 16 8 4 2 1

What’s the biggest number that can berepresented by 6 bits?

1111112 = 63 = 64 - 1

Page 28: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Binary Numbers

Digit(Face value)

1 1 1 1 1 1

Place value 32 16 8 4 2 1

What’s the biggest number that can berepresented by 6 bits?

1111112 = 63 = 64 - 1 = 26 - 1

Page 29: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Binary Numbers

Digit(Face value)

1 1 1 1 1 1

Place value 32 16 8 4 2 1

What’s the biggest number that can berepresented by 6 bits?

1111112 = 63 = 64 - 1 = 26 - 1

Note that the exponent is equal to the

number of bits

Page 30: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Binary Numbers

Digit(Face value)

1 1 1 1 1 1 1 1

Place value 128 64 32 16 8 4 2 1

What’s the biggest number that can berepresented by 8 bits?

Page 31: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Binary Numbers

Digit(Face value)

1 1 1 1 1 1 1 1

Place value 128 64 32 16 8 4 2 1

What’s the biggest number that can berepresented by 8 bits?

111111112 = 255

Page 32: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Binary Numbers

Digit(Face value)

1 1 1 1 1 1 1 1

Place value 128 64 32 16 8 4 2 1

What’s the biggest number that can berepresented by 8 bits?

111111112 = 255 = 256 - 1

Page 33: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Binary Numbers

Digit(Face value)

1 1 1 1 1 1 1 1

Place value 128 64 32 16 8 4 2 1

What’s the biggest number that can berepresented by 8 bits?

111111112 = 255 = 256 - 1 = 28 - 1

Page 34: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Binary Numbers

What’s the biggest number that can berepresented by 12 bits?

Page 35: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Binary Numbers

What’s the biggest number that can berepresented by 12 bits?

1111111111112 = 212 - 1

Page 36: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Binary Numbers

What’s the biggest number that can berepresented by 12 bits?

1111111111112 = 212 - 1 = 4095

Page 37: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

1 0 0 1 1 1

Place value 32 16 8 4 2 1

Convert 39 to a binary number.

Which bits need to be turned on?

Page 38: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

1 0 0 1 1 1

Place value 32 16 8 4 2 1

Convert 39 to a binary number.

Which bits need to be turned on?

Page 39: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

1 0 0 1 1 1

Place value 32 16 8 4 2 1

Convert 39 to a binary number.

Which bits need to be turned on?

Page 40: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

1 0 0 1 1 1

Place value 32 16 8 4 2 1

Convert 39 to a binary number.

Which bits need to be turned on?

Page 41: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

1 0 0 1 1 1

Place value 32 16 8 4 2 1

Convert 39 to a binary number.

Which bits need to be turned on?

Page 42: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

1 0 0 1 1 1

Place value 32 16 8 4 2 1

Convert 39 to a binary number.

Which bits need to be turned on?

Page 43: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

1 0 0 1 1 1

Place value 32 16 8 4 2 1

Convert 39 to a binary number.

Page 44: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Digit(Face value)

1 0 0 1 1 1

Place value 32 16 8 4 2 1

Convert 39 to a binary number.

39 = 1001112

Page 45: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

Page 46: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

Convert 39 to a binary number.

Page 47: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 1

Page 48: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 1

Page 49: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 19 ÷ 2 = 4 rem 1

Page 50: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 19 ÷ 2 = 4 rem 14 ÷ 2 = 2 rem 0

Page 51: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 19 ÷ 2 = 4 rem 14 ÷ 2 = 2 rem 02 ÷ 2 = 1 rem 0

Page 52: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 19 ÷ 2 = 4 rem 14 ÷ 2 = 2 rem 02 ÷ 2 = 1 rem 01 ÷ 2 = 0 rem 1

Page 53: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 19 ÷ 2 = 4 rem 14 ÷ 2 = 2 rem 02 ÷ 2 = 1 rem 01 ÷ 2 = 0 rem 1

We stop dividing once the

quotient is 0

Page 54: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 19 ÷ 2 = 4 rem 14 ÷ 2 = 2 rem 02 ÷ 2 = 1 rem 01 ÷ 2 = 0 rem 1

Page 55: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 19 ÷ 2 = 4 rem 14 ÷ 2 = 2 rem 02 ÷ 2 = 1 rem 01 ÷ 2 = 0 rem 1

We write down the

remainders starting with the last one

Page 56: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

39 =

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 19 ÷ 2 = 4 rem 14 ÷ 2 = 2 rem 02 ÷ 2 = 1 rem 01 ÷ 2 = 0 rem 1

We write down the

remainders starting with the last one

Page 57: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

39 =

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 19 ÷ 2 = 4 rem 14 ÷ 2 = 2 rem 02 ÷ 2 = 1 rem 01 ÷ 2 = 0 rem 1

Page 58: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

39 = 1

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 19 ÷ 2 = 4 rem 14 ÷ 2 = 2 rem 02 ÷ 2 = 1 rem 01 ÷ 2 = 0 rem 1

Page 59: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

39 = 1

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 19 ÷ 2 = 4 rem 14 ÷ 2 = 2 rem 02 ÷ 2 = 1 rem 01 ÷ 2 = 0 rem 1

Page 60: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

39 = 10

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 19 ÷ 2 = 4 rem 14 ÷ 2 = 2 rem 02 ÷ 2 = 1 rem 01 ÷ 2 = 0 rem 1

Page 61: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

39 = 10

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 19 ÷ 2 = 4 rem 14 ÷ 2 = 2 rem 02 ÷ 2 = 1 rem 01 ÷ 2 = 0 rem 1

Page 62: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

39 = 100

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 19 ÷ 2 = 4 rem 14 ÷ 2 = 2 rem 02 ÷ 2 = 1 rem 01 ÷ 2 = 0 rem 1

Page 63: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

39 = 100

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 19 ÷ 2 = 4 rem 14 ÷ 2 = 2 rem 02 ÷ 2 = 1 rem 01 ÷ 2 = 0 rem 1

Page 64: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

39 = 1001

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 19 ÷ 2 = 4 rem 14 ÷ 2 = 2 rem 02 ÷ 2 = 1 rem 01 ÷ 2 = 0 rem 1

Page 65: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

39 = 1001

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 19 ÷ 2 = 4 rem 14 ÷ 2 = 2 rem 02 ÷ 2 = 1 rem 01 ÷ 2 = 0 rem 1

Page 66: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

39 = 10011

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 19 ÷ 2 = 4 rem 14 ÷ 2 = 2 rem 02 ÷ 2 = 1 rem 01 ÷ 2 = 0 rem 1

Page 67: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

39 = 10011

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 19 ÷ 2 = 4 rem 14 ÷ 2 = 2 rem 02 ÷ 2 = 1 rem 01 ÷ 2 = 0 rem 1

Page 68: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

39 = 100111

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 19 ÷ 2 = 4 rem 14 ÷ 2 = 2 rem 02 ÷ 2 = 1 rem 01 ÷ 2 = 0 rem 1

Page 69: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

39 = 100111

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 19 ÷ 2 = 4 rem 14 ÷ 2 = 2 rem 02 ÷ 2 = 1 rem 01 ÷ 2 = 0 rem 1

Page 70: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

39 = 1001112

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 19 ÷ 2 = 4 rem 14 ÷ 2 = 2 rem 02 ÷ 2 = 1 rem 01 ÷ 2 = 0 rem 1

Page 71: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 105 to a binary number.

Page 72: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 105 to a binary number. 105 ÷ 2 = 52 rem 1

Page 73: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 105 to a binary number. 105 ÷ 2 = 52 rem 152 ÷ 2 = 26 rem 0

Page 74: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 105 to a binary number. 105 ÷ 2 = 52 rem 152 ÷ 2 = 26 rem 026 ÷ 2 = 13 rem 0

Page 75: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 105 to a binary number. 105 ÷ 2 = 52 rem 152 ÷ 2 = 26 rem 026 ÷ 2 = 13 rem 013 ÷ 2 = 6 rem 1

Page 76: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 105 to a binary number. 105 ÷ 2 = 52 rem 152 ÷ 2 = 26 rem 026 ÷ 2 = 13 rem 013 ÷ 2 = 6 rem 16 ÷ 2 = 3 rem 0

Page 77: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 105 to a binary number. 105 ÷ 2 = 52 rem 152 ÷ 2 = 26 rem 026 ÷ 2 = 13 rem 013 ÷ 2 = 6 rem 16 ÷ 2 = 3 rem 03 ÷ 2 = 1 rem 1

Page 78: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 105 to a binary number. 105 ÷ 2 = 52 rem 152 ÷ 2 = 26 rem 026 ÷ 2 = 13 rem 013 ÷ 2 = 6 rem 16 ÷ 2 = 3 rem 03 ÷ 2 = 1 rem 11 ÷ 2 = 0 rem 1

Page 79: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 105 to a binary number. 105 ÷ 2 = 52 rem 152 ÷ 2 = 26 rem 026 ÷ 2 = 13 rem 013 ÷ 2 = 6 rem 16 ÷ 2 = 3 rem 03 ÷ 2 = 1 rem 11 ÷ 2 = 0 rem 1

Page 80: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 105 to a binary number. 105 ÷ 2 = 52 rem 152 ÷ 2 = 26 rem 026 ÷ 2 = 13 rem 013 ÷ 2 = 6 rem 16 ÷ 2 = 3 rem 03 ÷ 2 = 1 rem 11 ÷ 2 = 0 rem 1

quotient

Page 81: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 105 to a binary number. 105 ÷ 2 = 52 rem 152 ÷ 2 = 26 rem 026 ÷ 2 = 13 rem 013 ÷ 2 = 6 rem 16 ÷ 2 = 3 rem 03 ÷ 2 = 1 rem 11 ÷ 2 = 0 rem 1

quotient remainder

Page 82: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 105 to a binary number. 105 ÷ 2 = 52 rem 152 ÷ 2 = 26 rem 026 ÷ 2 = 13 rem 013 ÷ 2 = 6 rem 16 ÷ 2 = 3 rem 03 ÷ 2 = 1 rem 11 ÷ 2 = 0 rem 1

quotient remainder

Page 83: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

105 = 11010012

Convert 105 to a binary number. 105 ÷ 2 = 52 rem 152 ÷ 2 = 26 rem 026 ÷ 2 = 13 rem 013 ÷ 2 = 6 rem 16 ÷ 2 = 3 rem 03 ÷ 2 = 1 rem 11 ÷ 2 = 0 rem 1

quotient remainder

Page 84: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

How can we modify the method we just looked at so that it will work for converting decimal numbers to hexadecimal?

Page 85: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

How can we modify the method we just looked at so that it will work for converting decimal numbers to hexadecimal?Convert 125 to a hexadecimal number.

Page 86: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

How can we modify the method we just looked at so that it will work for converting decimal numbers to hexadecimal?Convert 125 to a hexadecimal number.

Instead of dividing by 2, we divide by 16. Remember that hexadecimal is “base 16”.

Page 87: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

How can we modify the method we just looked at so that it will work for converting decimal numbers to hexadecimal?Convert 125 to a hexadecimal number.

Page 88: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

How can we modify the method we just looked at so that it will work for converting decimal numbers to hexadecimal?Convert 125 to a hexadecimal number. 125 ÷ 16 = 7 rem 13

Page 89: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

How can we modify the method we just looked at so that it will work for converting decimal numbers to hexadecimal?Convert 125 to a hexadecimal number. 125 ÷ 16 = 7 rem 13

7 ÷ 16 = 0 rem 7

Page 90: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

How can we modify the method we just looked at so that it will work for converting decimal numbers to hexadecimal?Convert 125 to a hexadecimal number. 125 ÷ 16 = 7 rem 13

7 ÷ 16 = 0 rem 7

Page 91: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

How can we modify the method we just looked at so that it will work for converting decimal numbers to hexadecimal?Convert 125 to a hexadecimal number. 125 ÷ 16 = 7 rem 13

7 ÷ 16 = 0 rem 7

Note that 13 = D

Page 92: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

How can we modify the method we just looked at so that it will work for converting decimal numbers to hexadecimal?

125 = 7D16

Convert 125 to a hexadecimal number. 125 ÷ 16 = 7 rem 137 ÷ 16 = 0 rem 7

Note that 13 = D

Page 93: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

Here’s another example:

Page 94: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

Here’s another example:

Convert 3973 to a hexadecimal number.

Page 95: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

Here’s another example:

Convert 3973 to a hexadecimal number. 3973 ÷ 16 = 248 rem 5

Page 96: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

Here’s another example:

Convert 3973 to a hexadecimal number. 3973 ÷ 16 = 248 rem 5248 ÷ 16 = 15 rem 8

Page 97: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

Here’s another example:

Convert 3973 to a hexadecimal number. 3973 ÷ 16 = 248 rem 5248 ÷ 16 = 15 rem 815 ÷ 16 = 0 rem 15

Page 98: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

Here’s another example:

Convert 3973 to a hexadecimal number. 3973 ÷ 16 = 248 rem 5248 ÷ 16 = 15 rem 815 ÷ 16 = 0 rem 15

Page 99: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

Here’s another example:

Convert 3973 to a hexadecimal number. 3973 ÷ 16 = 248 rem 5248 ÷ 16 = 15 rem 815 ÷ 16 = 0 rem 15

Note that 15 = F

Page 100: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

Here’s another example:

3973 = F8516

Convert 3973 to a hexadecimal number. 3973 ÷ 16 = 248 rem 5248 ÷ 16 = 15 rem 815 ÷ 16 = 0 rem 15

Note that 15 = F

Page 101: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Page 102: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

The “fractional part” is the part to the right of the point (or period).

Page 103: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 0.7 to a binary number.

The “fractional part” is the part to the right of the point (or period).

Page 104: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 0.7 to a binary number. 0.7 • 2 = 1.4

The “fractional part” is the part to the right of the point (or period).

Page 105: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 0.7 to a binary number. 0.7 • 2 = 1.4

The “fractional part” is the part to the right of the point (or period).

This time we multiply instead of

dividing

Page 106: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 0.7 to a binary number. 0.7 • 2 = 1.4

The “fractional part” is the part to the right of the point (or period).

Page 107: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.8

The “fractional part” is the part to the right of the point (or period).

We use only the fractional part in the next line

Page 108: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.6

The “fractional part” is the part to the right of the point (or period).

Page 109: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.2

The “fractional part” is the part to the right of the point (or period).

Page 110: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.4

The “fractional part” is the part to the right of the point (or period).

Page 111: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.8

The “fractional part” is the part to the right of the point (or period).

Page 112: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.8

The “fractional part” is the part to the right of the point (or period).

Page 113: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.8

The “fractional part” is the part to the right of the point (or period).

Notice here that 0.8 has appeared again. Once that happens, we know that we have a repeating pattern.

Page 114: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.8

Notice here that 0.8 has appeared again. Once that happens, we know that we have a repeating pattern.

Page 115: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.8

Notice here that 0.8 has appeared again. Once that happens, we know that we have a repeating pattern.

Page 116: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.8

Notice here that 0.8 has appeared again. Once that happens, we know that we have a repeating pattern.

Page 117: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.8

Notice here that 0.8 has appeared again. Once that happens, we know that we have a repeating pattern.

Page 118: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.4

Page 119: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.4

Page 120: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.4

This time, instead of reading

the 0s and 1s upwards, we read them downwards

Page 121: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

0.7 = .1

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.4

Page 122: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

0.7 = .1

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.4

Page 123: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

0.7 = .10

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.4

Page 124: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

0.7 = .10

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.4

Page 125: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

0.7 = .101

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.4

Page 126: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

0.7 = .101

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.4

Page 127: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

0.7 = .1011

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.4

Page 128: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

0.7 = .1011

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.4

Page 129: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

0.7 = .10110

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.4

Page 130: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

0.7 = .10110

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.4

Page 131: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

0.7 = .10110

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.4

We know that “0110” is a repeating pattern. So we put a bar on top of the pattern.

Page 132: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

0.7 = .10110

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.4

We know that “0110” is a repeating pattern. So we put a bar on top of the pattern.

Page 133: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

0.7 = .101102

Convert 0.7 to a binary number. 0.7 • 2 = 1.40.4 • 2 = 0.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.4

Page 134: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example?

Convert 0.875 to a binary number.

Page 135: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example?

Convert 0.875 to a binary number. 0.875 • 2 = 1.75

Page 136: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example?

Convert 0.875 to a binary number. 0.875 • 2 = 1.750.75 • 2 = 1.50

Page 137: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example?

Convert 0.875 to a binary number. 0.875 • 2 = 1.750.75 • 2 = 1.50

0.5 • 2 = 1.0

Page 138: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example?

Convert 0.875 to a binary number. 0.875 • 2 = 1.750.75 • 2 = 1.50

0.5 • 2 = 1.0

If the fractional part is 0, then we can stop

Page 139: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example?

Convert 0.875 to a binary number. 0.875 • 2 = 1.750.75 • 2 = 1.50

0.5 • 2 = 1.0

Page 140: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example?

Convert 0.875 to a binary number. 0.875 • 2 = 1.750.75 • 2 = 1.50

0.5 • 2 = 1.0

Page 141: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example?

0.875 = .1112

Convert 0.875 to a binary number. 0.875 • 2 = 1.750.75 • 2 = 1.50

0.5 • 2 = 1.0

Page 142: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 0.95 to a binary number.

Page 143: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 0.95 to a binary number. 0.95 • 2 = 1.9

Page 144: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 0.95 to a binary number. 0.95 • 2 = 1.90.90 • 2 = 1.8

Page 145: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 0.95 to a binary number. 0.95 • 2 = 1.90.90 • 2 = 1.80.8 • 2 = 1.6

Page 146: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 0.95 to a binary number. 0.95 • 2 = 1.90.90 • 2 = 1.80.8 • 2 = 1.60.6 • 2 = 1.2

Page 147: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 0.95 to a binary number. 0.95 • 2 = 1.90.90 • 2 = 1.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.4

Page 148: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 0.95 to a binary number. 0.95 • 2 = 1.90.90 • 2 = 1.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.8

Page 149: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 0.95 to a binary number. 0.95 • 2 = 1.90.90 • 2 = 1.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.80.8 • 2 = 1.6

Page 150: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 0.95 to a binary number. 0.95 • 2 = 1.90.90 • 2 = 1.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.80.8 • 2 = 1.6

Page 151: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 0.95 to a binary number. 0.95 • 2 = 1.90.90 • 2 = 1.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.8

Page 152: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 0.95 to a binary number. 0.95 • 2 = 1.90.90 • 2 = 1.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.8

Page 153: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 0.95 to a binary number. 0.95 • 2 = 1.90.90 • 2 = 1.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.8

Page 154: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 0.95 to a binary number. 0.95 • 2 = 1.90.90 • 2 = 1.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.8

Page 155: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Here’s another example:

Convert 0.95 to a binary number.

0.95 = .1111002

0.95 • 2 = 1.90.90 • 2 = 1.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.8

Page 156: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

How do we convert decimal numbers with a fractional part into hexadecimal?

Page 157: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

How do we convert decimal numbers with a fractional part into hexadecimal?

Convert 0.35 to a hexadecimal number.

Page 158: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

How do we convert decimal numbers with a fractional part into hexadecimal?

Convert 0.35 to a hexadecimal number. 0.35 • 16 = 5.6

Page 159: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

How do we convert decimal numbers with a fractional part into hexadecimal?

Convert 0.35 to a hexadecimal number. 0.35 • 16 = 5.60.6 • 16 = 9.6

Page 160: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

How do we convert decimal numbers with a fractional part into hexadecimal?

Convert 0.35 to a hexadecimal number. 0.35 • 16 = 5.60.6 • 16 = 9.60.6 • 16 = 9.6

Page 161: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

How do we convert decimal numbers with a fractional part into hexadecimal?

Convert 0.35 to a hexadecimal number. 0.35 • 16 = 5.60.6 • 16 = 9.6

Page 162: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

How do we convert decimal numbers with a fractional part into hexadecimal?

Convert 0.35 to a hexadecimal number. 0.35 • 16 = 5.60.6 • 16 = 9.6

Page 163: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

How do we convert decimal numbers with a fractional part into hexadecimal?

Convert 0.35 to a hexadecimal number. 0.35 • 16 = 5.60.6 • 16 = 9.6

0.35 = .5916

Page 164: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

Here’s another example:

Convert 0.25 to a hexadecimal number.

Page 165: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

Here’s another example:

Convert 0.25 to a hexadecimal number. 0.25 • 16 = 4.0

Page 166: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

Here’s another example:

Convert 0.25 to a hexadecimal number. 0.25 • 16 = 4.0

If the fractional part is 0, then we can stop

Page 167: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

Here’s another example:

0.25 = .416

Convert 0.25 to a hexadecimal number. 0.25 • 16 = 4.0

If the fractional part is 0, then we can stop

Page 168: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

Here’s another example:

Convert 0.24 to a hexadecimal number.

Page 169: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

Here’s another example:

Convert 0.24 to a hexadecimal number. 0.24 • 16 = 3.84

Page 170: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

Here’s another example:

Convert 0.24 to a hexadecimal number. 0.24 • 16 = 3.840.84 • 16 = 13.44

Page 171: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

Here’s another example:

Convert 0.24 to a hexadecimal number. 0.24 • 16 = 3.840.84 • 16 = 13.440.44 • 16 = 7.04

Page 172: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

Here’s another example:

Convert 0.24 to a hexadecimal number. 0.24 • 16 = 3.840.84 • 16 = 13.440.44 • 16 = 7.040.04 • 16 = 0.64

Page 173: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

Here’s another example:

Convert 0.24 to a hexadecimal number. 0.24 • 16 = 3.840.84 • 16 = 13.440.44 • 16 = 7.040.04 • 16 = 0.64

0.64 • 16 = 10.24

Page 174: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

Here’s another example:

Convert 0.24 to a hexadecimal number. 0.24 • 16 = 3.840.84 • 16 = 13.440.44 • 16 = 7.040.04 • 16 = 0.64

0.64 • 16 = 10.240.24 • 16 = 3.84

Page 175: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

Here’s another example:

Convert 0.24 to a hexadecimal number. 0.24 • 16 = 3.840.84 • 16 = 13.440.44 • 16 = 7.040.04 • 16 = 0.64

0.64 • 16 = 10.240.24 • 16 = 3.84

Page 176: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

Here’s another example:

Convert 0.24 to a hexadecimal number. 0.24 • 16 = 3.840.84 • 16 = 13.440.44 • 16 = 7.040.04 • 16 = 0.64

0.64 • 16 = 10.24

Page 177: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

Here’s another example:

Convert 0.24 to a hexadecimal number. 0.24 • 16 = 3.840.84 • 16 = 13.440.44 • 16 = 7.040.04 • 16 = 0.64

0.64 • 16 = 10.24

Page 178: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

Here’s another example:

0.24 = .3D70A16

Convert 0.24 to a hexadecimal number. 0.24 • 16 = 3.840.84 • 16 = 13.440.44 • 16 = 7.040.04 • 16 = 0.64

0.64 • 16 = 10.24

Page 179: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Page 180: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 39.95 to a binary number.

Page 181: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 39.95 to a binary number.

To perform this conversion, separate the decimal number into its two parts: 39 and .95

Page 182: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

39 = 1001112

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 19 ÷ 2 = 4 rem 14 ÷ 2 = 2 rem 02 ÷ 2 = 1 rem 01 ÷ 2 = 0 rem 1

Page 183: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

Let’s look at another method for converting decimal numbers to binary.

39 = 1001112

Convert 39 to a binary number. 39 ÷ 2 = 19 rem 119 ÷ 2 = 9 rem 19 ÷ 2 = 4 rem 14 ÷ 2 = 2 rem 02 ÷ 2 = 1 rem 01 ÷ 2 = 0 rem 1

We converted 39 in this slide earlier. So we know that 39 is 1001112

Page 184: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 0.95 to a binary number. 0.95 • 2 = 1.90.90 • 2 = 1.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.80.8 • 2 = 1.6

0.95 = .1111002

Page 185: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 0.95 to a binary number. 0.95 • 2 = 1.90.90 • 2 = 1.80.8 • 2 = 1.60.6 • 2 = 1.20.2 • 2 = 0.40.4 • 2 = 0.80.8 • 2 = 1.6

0.95 = .1111002

We converted 0.95 in this slide earlier. So we know that 0.95 is .1111002

Page 186: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 39.95 to a binary number.

Page 187: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 39.95 to a binary number.

39 = 1001112

Page 188: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 39.95 to a binary number.

39 = 10011120.95 = .1111002

Page 189: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 39.95 to a binary number.

39 = 10011120.95 = .1111002

Therefore,

Page 190: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 39.95 to a binary number.

39 = 10011120.95 = .1111002

Therefore,39.95 = 100111. 1111002

Page 191: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 54.75 to a binary number.

Page 192: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 54.75 to a binary number.

54 ÷ 2 = 27 rem 0

Page 193: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 54.75 to a binary number.

54 ÷ 2 = 27 rem 027 ÷ 2 = 13 rem 1

Page 194: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 54.75 to a binary number.

54 ÷ 2 = 27 rem 027 ÷ 2 = 13 rem 113 ÷ 2 = 6 rem 1

Page 195: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 54.75 to a binary number.

54 ÷ 2 = 27 rem 027 ÷ 2 = 13 rem 113 ÷ 2 = 6 rem 16 ÷ 2 = 3 rem 0

Page 196: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 54.75 to a binary number.

54 ÷ 2 = 27 rem 027 ÷ 2 = 13 rem 113 ÷ 2 = 6 rem 16 ÷ 2 = 3 rem 03 ÷ 2 = 1 rem 1

Page 197: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 54.75 to a binary number.

54 ÷ 2 = 27 rem 027 ÷ 2 = 13 rem 113 ÷ 2 = 6 rem 16 ÷ 2 = 3 rem 03 ÷ 2 = 1 rem 11 ÷ 2 = 0 rem 1

Page 198: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 54.75 to a binary number.

54 ÷ 2 = 27 rem 027 ÷ 2 = 13 rem 113 ÷ 2 = 6 rem 16 ÷ 2 = 3 rem 03 ÷ 2 = 1 rem 11 ÷ 2 = 0 rem 1

Page 199: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 54.75 to a binary number.

54 ÷ 2 = 27 rem 027 ÷ 2 = 13 rem 113 ÷ 2 = 6 rem 16 ÷ 2 = 3 rem 03 ÷ 2 = 1 rem 11 ÷ 2 = 0 rem 1

54 = 1101102

Page 200: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 54.75 to a binary number.

54 ÷ 2 = 27 rem 027 ÷ 2 = 13 rem 113 ÷ 2 = 6 rem 16 ÷ 2 = 3 rem 03 ÷ 2 = 1 rem 11 ÷ 2 = 0 rem 1

54 = 1101102

Page 201: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 54.75 to a binary number.

.75 • 2 = 1.554 ÷ 2 = 27 rem 027 ÷ 2 = 13 rem 113 ÷ 2 = 6 rem 16 ÷ 2 = 3 rem 03 ÷ 2 = 1 rem 11 ÷ 2 = 0 rem 1

54 = 1101102

Page 202: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 54.75 to a binary number.

.75 • 2 = 1.5.5 • 2 = 1.0

54 ÷ 2 = 27 rem 027 ÷ 2 = 13 rem 113 ÷ 2 = 6 rem 16 ÷ 2 = 3 rem 03 ÷ 2 = 1 rem 11 ÷ 2 = 0 rem 1

54 = 1101102

Page 203: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 54.75 to a binary number.

54 ÷ 2 = 27 rem 027 ÷ 2 = 13 rem 113 ÷ 2 = 6 rem 16 ÷ 2 = 3 rem 03 ÷ 2 = 1 rem 11 ÷ 2 = 0 rem 1

54 = 1101102

.75 • 2 = 1.5.5 • 2 = 1.0

Page 204: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 54.75 to a binary number.

54 ÷ 2 = 27 rem 027 ÷ 2 = 13 rem 113 ÷ 2 = 6 rem 16 ÷ 2 = 3 rem 03 ÷ 2 = 1 rem 11 ÷ 2 = 0 rem 1

54 = 1101102

.75 • 2 = 1.5.5 • 2 = 1.0

.75 = .112

Page 205: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Binary

How do we convert decimal numbers with a fractional part into binary?

Convert 54.75 to a binary number.

Therefore,54.75 = 110110.112

54 ÷ 2 = 27 rem 027 ÷ 2 = 13 rem 113 ÷ 2 = 6 rem 16 ÷ 2 = 3 rem 03 ÷ 2 = 1 rem 11 ÷ 2 = 0 rem 1

54 = 1101102

.75 • 2 = 1.5.5 • 2 = 1.0

.75 = .112

Page 206: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

How do we convert decimal numbers with a fractional part into hexadecimal?

Page 207: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

How do we convert decimal numbers with a fractional part into hexadecimal?Convert 3973.24 to a hexadecimal number.

Page 208: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

How do we convert decimal numbers with a fractional part into hexadecimal?Convert 3973.24 to a hexadecimal number.

From our earlier work today, we know that

Page 209: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

How do we convert decimal numbers with a fractional part into hexadecimal?Convert 3973.24 to a hexadecimal number.

From our earlier work today, we know that3973 = F8516

Page 210: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

How do we convert decimal numbers with a fractional part into hexadecimal?Convert 3973.24 to a hexadecimal number.

From our earlier work today, we know that3973 = F85160.24 = . 3D70A16

Page 211: Math1003 1.9 - Converting Decimal to Binary and Hex

MATH1003

10110100101011010100101010111010101111011011101111011101110111101110111011110111111010110100101011110110110101111011010100111111011010100110101001

Decimal to Hexadecimal

How do we convert decimal numbers with a fractional part into hexadecimal?Convert 3973.24 to a hexadecimal number.

From our earlier work today, we know that3973 = F85160.24 = . 3D70A16

Therefore,3973.24 = F85.3D70A16