CSC-105
Introduction to Computer Science
Lecture 2.1.
Symbols
Morse code: | Braille: | Our Number System? |
. _ | | ? |
Number Systems
Roman Numerals | Unary number system | Our Number System |
I, V, X, L, C, D, M I stands for one V stands for five X stands for ten L stands for fifty C stands for hundred D stands for five hundred M stands for thousand From Latin word mille. Thousand steps in about a mile | | 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 The number system we use today is called the Decimal System Decimal is Latin for ten |
Our Number system
Babylonian Number System
Indo-Arabic Number System
Indo-Arabic Number System
The Indo-Arabic number system differs from previous numbers in three ways:
Indo-Arabic Number System
2.
Virtually all earlier number systems had something that the Indian-Arabic system does not
3.
Virtually all earlier number systems lacked something that the Indo-Arabic system has: zero
Indo-Arabic Number System
“four thousand, eight hundred and twenty five”
4825 = 4000 800 20 5 | 4825 = 4 * 1000 + 8 * 100 + 2 * 10 + 5 * 1 | 4825 = 4 * 103 + 8 * 102 + 2 * 101 + 5 * 100 |
Indo-Arabic Number System
Elegance of Positional Systems
4 x 10,000 +
2 x 1000 +
7 x 100 +
0 x 10 +
5 x 1 +
6 ÷ 10 +
8 ÷ 100 +
4 ÷ 1000 +
Elegance of Positional Systems
4 x 10,000 + 2 x 1000 + 7 x 100 + 0 x 10 + 5 x 1 + 6 x 0.1 + 8 x 0.01 + 4 x 0.001 | 4 x 104 + 2 x 103 + 7 x 102 + 0 x 101 + 5 x 100 + 6 x 10-1 + 8 x 10-2 + 4 x 10-3 |
Addition in a Positional System
Alternative Number Systems
Multiplication in a Positional System