IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x=...

59
IST 4 Information and Logic

Transcript of IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x=...

Page 1: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

IST 4Information and Logic

Page 2: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Lectures are at:paradise caltech edu/ist4/lectures htmlparadise.caltech.edu/ist4/lectures.html

Page 3: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Homeworks are at:paradise caltech edu/ist4/homeworks htmlparadise.caltech.edu/ist4/homeworks.html

Page 4: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

mon tue wed thr fri31 M1 1= todayT

7 M1

14 1 2M2x= hw#x out

= todayT

T oh oh

oh oh M21 228 M2

x= hw#x due

idt

oh oh

h h28 M2

5 312 3 4Mx= MQx out

midtermsoh

oh oh

oh = office hours oh

12 3 419 4 526

Mx= MQx out

Mx= MQx dueoh oh

ohoh

26

2 5oh

oh

oh

oh

Page 5: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

MQ1E h ift!Everyone has a gift!

Due Thursday 4/10/2012 by 10pmDue Thursday 4/10/2012 by 10pm

Please email PDFlastname-firstname.pdfpto [email protected]

Page 6: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Languages help in reasoning beyond our natural sensebeyond our natural sense

What is our number sense?

Need a language for quantities!g g q

Page 7: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

What is this item?

Lebombo bone ~40 000 years agoLebombo bone 40,000 years ago

hint?

A very early device for di titi b m ki recording quantities by making

marks on a bone of a monkey

Page 8: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Early Counting Devices ~40,000 ago

lebombo bone

1970's excavations in Lebombo Mountains, a piece of the fibula of a baboon was found marked with 29 clearly fibula of a baboon was found marked with 29 clearly defined notches ??????

Page 9: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4
Page 10: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Lunar cycle (month): ~29.5 days Lu y (m ) 9. y

Source: Wikipedia

Page 11: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

5 5

Day and night: 210 10

Moon – Earth (month): ~29 days

Earth – Sun (year): ~365 days

Page 12: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4
Page 13: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Igno-Info break

12 is a 12 is a ‘special’ numberspecial number..E l ?Examples?

Page 14: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

150 000 d h H i~150,000 years ago: modern humans - Homo sapiens

~50,000 years ago: emergence of languages50,000 years ago emergence of languages

~5,000 years ago: emergence of written languages

~500 years ago: emergence of printing

~50 years ago: emergence of electronic forms

Page 15: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Wh t s in nt d fi st?What was invented first?a. Written text

1. Numbers

a and 1 together

3200 2700 BC: writing was used for accounting

Denise Schmandt-Besserat1933 -

3200 – 2700 BC: writing was used for accounting...

Source: Her 2009 paper,1933

“Tokens and Writing: the Cognitive Development,”

Will be posted on the class web page

Page 16: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Tokens 8,000 ya, yPhysical Symbols:

shape = meaningshape = meaning

Source: DSB 2009 paper

Page 17: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

one jar of oil one garment Idea: Represent goods with tokens

one sheep one jar of oil one garment

one ingot of metal

Token are physical symbols of real items – a language!

h b

Source: DSB 2009 paper

one honeycomb one garment

Page 18: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Secure Transactions:E l (B ll ) Envelopes (Bulla) and Seals, 3,700BCand Seals, 3,700BC

Page 19: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

cylinder Seals

Page 20: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

New Idea: Mark on the outside what is inside...

Writing: h i l b l t i i t d b l physical symbols to imprinted symbols

Envelope showing the imprint of three ovoid tokens with an incised line

3,300 BC

tokens with an incised line representing jars of oilSource: DSB 2009 paper

Page 21: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

A crazy idea: No need for an envelope! A crazy idea: p

The tablet is born!

Tablet showing the impression of spheres and cones representing measures of grain3 100BC3,100BC

Source: DSB 2009 paper

Page 22: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

One more crazy idea:Separate between the quantity and the item....

Too many jars of oils m y j ffor markings on the envelope / tablet

Source: DSB 2009 paper

Page 23: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Separate between the quantity and the itemSeparate between the quantity and the item...

The NUMBER is born!!!

10 1

The NUMBER is born!!!

110

Twelve jars

LLanguage for quantities!!!

Source: DSB 2009 paper

Page 24: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

tablet featuring an account of 33 f il 3 100 BC il

oneten

33 measures of oil, 3,100 BC oil

Source: DSB 2009 paper

Page 25: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Language for quantities!!!Language for quantities!!!

The item (jar of oil) is not restricted The item (jar of oil) is not restricted to accounting... Not restricted to envelopes

G l iti i b !!!General writing is born!!!

A great story... Not covered in IST4g y

Page 26: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Where did it start?Where did it start?

Page 27: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Babylonians and Egyptians5000 ~5000 years ago

Page 28: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

The Egyptians Preferred 10 The Egyptians Preferred 0

How will you representHow will you representa trillion1,000,000,000,000?

2 100 7 10 6 1 2762x100 + 7x10 + 6x1 = 276

Page 29: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Babylonians

The first Positional number system

11

10

The Babylonian preferred 60

Page 30: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Babylonians

The first Positional number systems

4x60 + 36x1 = 276

Page 31: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Babylonians were Masters of Abstractions

Why 60?

y

Why 60?Good for computation and representing fractions:

1/2 = 30/601/2 30/601/3 = 20/601/4 = 15/60 1/5 = 12/601/5 = 12/601/6 = 10/60

Page 32: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Babylonian Number Systemsy y

What is the number?

31

What is the number?

31 60 31 189131x60 31+ = 1891

Page 33: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4
Page 34: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

The Babyloniansknew everything!knew everything!

Page 35: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

How did we learn about the Babylonians?Babylonians?Expeditions (Ninveh, Nippur...):

-Claudius Rich – 1811-Paul-Émile Botta - 1842-Austen Layard - 1851

-Peters and HilprechtPeters and Hilprecht,U Penn. 1889-1900 (4)

Chi U P -Chicago, U. Penn, 1948-1990 (19)

Hilprecht (Ed), Babylonian Expeditions, U. of Pennsylvania, 1906

Page 36: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Deciphering the ‘code’Ignace Jay Gelb

1907-1985

B i P l d

1952

Born in Poland

PhD in Italy - 1929y

Professor in Chicago

Page 37: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

A tablet called: Plimpton 322, from 1800 BC, at Columbia U

9x13 cm

Page 38: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Otto NeugebauerAustria (BS) –> Germany (BS) –> Denmark (PHD) –> US (Brown U)

Otto Neugebauer1899-1990

Mathematics –> History of Exact Sciences

His son:Gerry Neugebauer (PhD ‘60)(PhD 60)Millikan Professor of Physics, Emeritus

Page 39: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Asger AaboeMathematics –> Teaching Math ->History of Exact Sciences

Denmark –> US (PhD 1957, Brown U) -> 1961,Yale U 1922–2007

Otto Neugebauer1899 19901899-1990

Page 40: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Otto Neugebauer1899-1990

Asger Aaboe1922–2007

Today you will get to be Otto and Asger!Today, you will get to be Otto and Asger!

Page 41: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

1 159 2,15

Multiplication table for 9123

5161718

91827

, 52,242,332,422 514

567

1819?20

40

364554

63 1 3

2,513,04,306,0

27030789

10

4050??

631,121,211 30

1,3 6,07,3072 450

811011121

1,301,391,481 5713

14

1,572,6

Page 42: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Multiplication instead of division

????

Page 43: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4
Page 44: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4
Page 45: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

fraction

Page 46: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

7 and 11 and other numbers are missing?7 and 11 and other numbers are missing?

fraction

Page 47: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Regular numbers = divide 60n

A number that its prime factors are at most 5: 5-smooth

Is 24 a regular number? 2x2x2x3

Is 896 a regular number? 2x2x2x2x2x2x2x7

Is 900 a regular number? 2x2x3x3x5x5

Generate all the regular numbers??Generate all the regular numbers??

Page 48: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Regular numbers = divide 60n

Also: 5-smooth, Hamming numbers

1 – 81

Source: Wikipedia

1 – 81Appear in the Babylonian tablet

Page 49: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

-The Babylonians had multiplicationand reciprocals tables for the regular p gnumbers + the number 7

-Also they had tables of squaresAlso they had tables of squares

-And many tricks... We call it algorithms...

Question: Suppose you can add, subtract, have small multiplication tables, large tables for n2,can you use it to compute arbitrary multiplications?

Page 50: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

The Babyloniansknew everything!knew everything!

even Geometryeven Geometry...

3

945

Page 51: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

The Babyloniansknew everything!knew everything!

even Geometryeven Geometry...

3

945

Page 52: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

The Babyloniansknew everything!knew everything!

even Geometryeven Geometry...

3

945

Page 53: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

The Babyloniansknew everything!knew everything!

even Geometryeven Geometry...

12 again!!12

12 again!!

2,24?12

Page 54: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Which Number Does not Belong?g

is a space between two digits

Page 55: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Which Number Does not Belong?g

139 25512763139 25512763

64-1 128-1 256-1

Page 56: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

Positional number systems

10

2

6060

Page 57: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

B se b P siti n l S stemsBase-10 is embedded in our language and thought

Base-b Positional Systems

Page 58: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

B se b C nversi n t B se BTranslation between languages!

Base-b Conversion to Base-B

Page 59: IST 4 Information and Logic 0314 p.pdf · mon tue wed thr fri = today 31 M1 1 T 7 M1 14 1 2M2 x= hw#x out T oh oh oh oh 21 2 28 M2 x= hw#x due idt oh oh h h 5 3 Mx= MQx out 12 3 4

B se b C nversi n t B se BTranslation between languages!

Base-b Conversion to Base-B

Base b to base 10 Base 10 to base B b B10

Successive division by B using base-10 arithmetic

Sum the corresponding weights using base-10 arithmetic