IST 4
Information and Logic
Everyone has a gift! MQ1
Due Today by 10pm
Please email PDF
lastname-firstname.pdf
to [email protected]
Have your name inside the file as well...
HW #1
Due Tuesday, 4/17
2:30pm in class
mon tue wed thr fri
2 M1
1
9 M1
16
1 2
M223
2
30 M2
7
3
14
3 4
21
4 5
28
4
5
x= hw#x out x= hw#x due
Mx= MQx out Mx= MQx due
midterms
oh oh
oh oh
oh oh
oh
oh
oh oh
oh
oh oh oh
oh
oh oh
oh
= office hours
oh= today
T oh
oh
oh
oh
sun
T
Quiz #1
Review
Quiz #1 – 10min
What are the 2 important properties of a language?
Question 1:
1. Verbal and Written
3. Syntax and Semantics
4. Finite Building Blocks and Separation 2. Reason about real paradigms
Reason about fictional paradigms
DNA, natural human language, mathematics, music…
sepa ration
building blocks
Separation A
Between syntax and semantics Separation B
between what is represented
and reality, feasibility, time, space, ...
l a n g u a g e s
is a space between two digits
31x60 + 31 = 1891 Base 60:
Question 2:
Write the value in decimal of the following numbers Show your work
Quiz #1 – 10min
2x60 + 19x1 = 139 1x3600 + 2x60 + 31x1 = 3751
The weights: 216,000 | 3,600 | 60 | 1
So Far…
- Lecture 1: Life – DNA sequences and evolution - Lecture 2:
The human brain – natural languages, memory, teaching - Lecture 3: Artificial languages - numbers and writing
(limited) memory and innovation process (artificial languages)
information systems
Our number sense is limited...
We are doing well because we
found a way to
language for quantities
Our number sense is limited...
Our number sense is limited...
managing time…
Our number sense is limited...
managing trade…
Our memory sense is limited...
an idea: recording our speech Writing is the recording of the
sounds of our verbal language
reb us
Today
- Lecture 1: Life – DNA sequences and evolution - Lecture 2:
The human brain – natural languages, memory, teaching - Lecture 3: Artificial languages - numbers and writing
- Lecture 4: the development of languages for quantities - Babylonian mathematics
- Number representation systems
Deciphering the
Babylonians
Otto Neugebauer 1899-1990
Austria (EE) –> Germany (Math/history) –> Denmark –> US (Brown U)
Mathematics –> History of Exact Sciences
His son:
Gerry Neugebauer 1932-2014
(PhD ‘60)
Millikan Professor of Physics, Emeritus
• Born in Austria
• Participated in WWI, was POW
• Germany 1933, lost his job
• Escaped Germany to Denmark in 1934
• Escaped Europe to the US in 1939, WWII
1945
Otto Neugebauer 1899-1990
Denmark –> US (PhD 1957, Brown U) -> 1961, Yale U
Asger Aaboe 1922–2007
Mathematics –> Teaching Math ->History of Exact Sciences
Otto Neugebauer 1899-1990 Asger Aaboe
1922–2007
Today, you will get to be Otto and Asger!
1 32
45 67 8 109 1112 1314
1 32
45 67 8 109
1112 1314
15 1617
1819?
20 40 50
??
9 18
2736 4554
63 1,12
1,301,21 1,481,39 1,57 2,6 1,3
2,15 2,242,33 2,422,51 3,04,30 6,07,30
72 450
81
30 270
1 32
45 67 8 109
1112 1314
15 1617
1819?
20 40 50
??
9 18
2736 4554
63 1,12
1,301,21 1,481,39 1,57 2,6 1,3
2,15 2,242,33 2,422,51 3,04,30 6,07,30
72 450
81
270
Multiplication table for 9
30
??
Multiplication
instead of division
fraction
No fractional point
fraction
7 and 11 and other numbers are missing? Why?
No fractional point
Is 24 a regular number?
A number that its prime factors are at most 5 is called a regular number
Is 900 a regular number?
Is 896 a regular number?
2x2x2x3
2x2x2x2x2x2x2x7 2x2x3x3x5x5
a must be a regular number Q: What are the possible values for a ?
a, b are integers, must divide
language for quantities
Our number sense is limited...
time trade
geometry
The Babylonians
knew everything!
even Geometry...
3
45 9
The Babylonians
knew everything!
even Geometry...
3
45 9
Yale U. 3/2018 - YBC
The Babylonians
knew everything!
even Geometry...
3 45 9
A square hint
4
16
1
The Babylonians
knew everything!
even Geometry...
4
16 1
A square hint
A = (C/4) x (C/4) A = (C x C)/16
A = Area
C = Circumference
The Babylonians
knew everything!
even Geometry...
C = 4
CxC = 16 A=1
A= (16)/16 = 1
A square hint
A = (C/4) x (C/4) A = (C x C)/16
A = Area
C = Circumference
The Babylonians
knew everything!
even Geometry...
3 45 9
? ?
?
The Babylonians
knew everything!
even Geometry...
3
45 9
The Babylonians
knew everything!
even Geometry...
3
45 9
The Babylonians
knew everything!
even Geometry...
12
? 2,24
12
12 again!!
Algorithms
separation
12137+35823
compute using the rules of the syntax
independent of the semantics using building blocks
building Blocks
algorithms
The language of numbers
Our first algorithm
Translation between languages
Positional number systems
10
2
60
Base-b Positional Systems
Base-10 is embedded in our language and thought
Base-b Conversion to Base-B
Translation between languages
English to Spanish
French Spanish
French to English
English
Base-b Conversion to Base-B
Successive division by B using base-10 arithmetic
Base b to base 10 Base 10 to base B
b 10 B
Sum the corresponding weights using base-10 arithmetic
Translation between languages
Successive division by B using base-10 arithmetic
Base b to base 10 Base 10 to base B
b 10 B
Sum the corresponding weights using base-10 arithmetic
Base-b Conversion to Base-B
Translation between languages
Base-b Conversion to Base-B
Translation between languages
8 16
64
128
+ + +
8 16
64 128
Base-b: Conversion from Base 10
Conversion from base-10 to binary:
4 2 1
32 32
64 16 8 4 2 1
216 108
Idea: discover the blue blocks!
Odd number – the right most block is blue Divide by 2 – to expose the next block...
If odd – subtract 1
Our first algorithm - syntax manipulation
Even number – the right most block is yellow
8 16
64 128
Base-b: Conversion from Base 10
Conversion from base-10 to binary:
4 2 1
32 32
16 8 4 2 1 32
16 8 4 2 1
64 16
8 4 2 1
8 4 2 1
4 2 1
2 1
1
216 108 54 27 13 6 3 1
The PPT COMPUTER
8 16
64 128
Base-b: Conversion from Base 10
Conversion from base-10 to binary:
4 2 1
32 32
16 8 4 2 1 32
16 8 4 2 1
64 16
8 4 2 1
8 4 2 1
4 2 1
2 1
1
216 108 54 27 13 6 3 1
The PPT COMPUTER
8 16
64 128
Base-b: Conversion from Base 10
Conversion from base-10 to binary:
4 2 1
32 32
16 8 4 2 1 32
16 8 4 2 1
64 16
8 4 2 1
8 4 2 1
4 2 1
2 1
1
216 108 54 27 13 6 3 1
A faster PPT COMPUTER
The language of numbers
weighted and positional
Babylonians and Egyptians
~5000 years ago
weighted
positional
The Egyptians Preferred 10
2x100 + 7x10 + 6x1 = 276
How will you represent a trillion
1,000,000,000,000?
separation
However, not a finite number of building blocks!
Number Systems
weighted positional system weighted system
4x60 + 36x1 = 276
276
2x100 + 7x10 + 6x1 = 276
2x100 + 7x10 + 6x1 = 276
2x100 + 1x50 + 2x10 + 1x5 + 1x1= 276
CCLXXVI
0
bounded syntax
What does a positional
number system have that is
unique?
Number Systems
weighted positional system weighted system
4x60 + 36x1 = 276
276
2x100 + 7x10 + 6x1 = 276
2x100 + 7x10 + 6x1 = 276
2x100 + 1x50 + 2x10 + 1x5 + 1x1= 276