Appendix

Appendix – Decimal and Binary System

Gottfried Wilhelm Leibniz discovered the binary number system. Leibniz was a prominent German mathematician, philosopher, physicist, and statesman. Instead of using ten digits (0 through 9) to write numbers, he invented a way to write numbers using just two digits (0 and 1). This is called binary system , which is the foundation of all digital computers.

Leibniz is also credited with inventing differential and integral calculus in the year 1684, independently of Sir Isaac Newton, who was using similar methods for his theory of gravity.

Leibniz also invented the Leibniz wheel, the first calculating machine that could add, subtract, multiply, and divide. This machine was the first mass-produced mechanical calculator.

Leibniz was a childhood prodigy. He became fluent in Latin and studied the works of Greek scholars when he was only twelve. He entered the University of Leipzig when he was fourteen, where he studied philosophy, mathematics, and law.

Gottfried Leibniz is considered one of the greatest and most influential thinkers and logicians in history.

Decimal Numbering System:

You have read about the decimal numbering system in your math class.  In the decimal numbering system, there are ten symbols (0, 1, 2, 3, 4, 5, 6, 7, 8, 9).  If you have a number greater than 9, you use the place value as shown below.

PlaceMillionHundred-ThousandsTen-thousandsThousandsHundredsTensUnits
Place Value10**610**510**410**310**210**110**0
Place Value1,000,000100,00010,0001,000100101
Number6243709
DECIMAL NUMBERING SYSTEM

Thus, the number 6,243,709 is created by multiplying each digit by its place value as below.

6*1,000,000 + 2*100,000 + 4*10,000 + 3*1,000 + 7*100 + 0*10 + 9*1

Binary Numbering System:

The computer cannot understand decimal numbers.  The computer is made using transistor chips. The transistors are like switches, which are either ON or OFF.  The ON and OFF states can be represented as “1” and ‘0″ respectively or as “TRUE” and “FALSE”.  Since transistors have only two states (0 and 1), the computer does arithmetic using only two symbols (‘0’, and ‘1’).  This is called Binary Arithmetic.

The following is the place value table for a binary arithmetic system.

Place876543210
Place Value2**82**72**62**52**42**32**22**12**0
Place value256 1286432168421
Number110010111
BINARY NUMBERING SYSTEM

So, what does the binary number 110010111 convert to in the decimal system?

Just as we calculated the value of the number in the decimal system, we will use the same method, except we replace ’10’ with ‘2’.

Number = 1*256 + 1*128 + 0*64 + 0*32 + 1*16 + 0*8 + 1*4 + 1*2 + 1*1

= 256 + 128 + 16 + 4 +2 + 1

= 407

Below is a Table of a few binary numbers and their decimal equivalents.

8-BIT BINARY NUMBERDECIMAL EQUIVALENT
000000000
000000011
000000102
000000113
000001004
000001015
000001106
000001117
000010008
000010019
0000101010
0000101111
0000110012
0000110113
0000111014
0000111115
11111111255
CONVERT BINARY TO DECIMAL NUMBERS

In the above Table, there are 8 binary digits (called bits). Recall that in the section on Color Theory, we mentioned that each of the colors R, G, and B can have a value from 0 to 255.  Each of the RGB colors is represented by 8 bits. Since the 8-bit binary numbers can have a value between 0 to 255, each of the RGB colors has values between 0 and 255.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Verified by MonsterInsights