Presentation is loading. Please wait.

Presentation is loading. Please wait.

CSE 8351 Computer Arithmetic Fall 2005 Instructor: Peter-Michael Seidel.

Similar presentations


Presentation on theme: "CSE 8351 Computer Arithmetic Fall 2005 Instructor: Peter-Michael Seidel."— Presentation transcript:

1 CSE 8351 Computer Arithmetic Fall 2005 Instructor: Peter-Michael Seidel

2 CSE 8351 Computer ArithmeticSeidel - Fall 2005 2 Administrative Issues Class times: TTh 5:00-6:20 Office hours: Seidel: W 2-3, Th 2-3 Course Webpage: http://engr.smu.edu/~seidel/courses/cse8351/http://engr.smu.edu/~seidel/courses/cse8351/ Class material –Handouts, slides and references will be provided on course webpage References will be provided on WWW Computer Arithmetic Page (to be setup) Grade distribution –Project40% –Paper Summaries/Presentation 40% –Examination 20% 8000 level - Research focus in class –Quality Research is based on a combination of Knowledge (facts) / Skills (methodology) / Motivation (effort)

3 CSE 8351 Computer ArithmeticSeidel - Fall 2005 3 Historical Perspectives Need Input to Compute –Numbers –How to represent them? –In early days very few people could write or had access to paper (writing was expensive) –Communication of numbers: with the purpose of trading –Numbers represented with hands, fingers and body parts

4 CSE 8351 Computer ArithmeticSeidel - Fall 2005 4 Development of numbers –First number symbols found are about 6000 years old (in caves in stone) –3300 years ago (Egypt): report on 422000 cows won after a battle –200 years ago (Micronesia) : Some Indian tribes can only count to 3 everything larger is called 4. –Counting started with fingers, stones, lines, cherry stones –Number range with fingers is very limited, is it ? –Counting possible, computing difficult –Combining of different symbols giving them different weights

5 CSE 8351 Computer ArithmeticSeidel - Fall 2005 5 Development of numbers Roman numbers: I = 1 V = 5 X = 10 L = 50 C = 100 D = 500 M = 1000 2388 = MMCCCLXXXVIII (1000+1000+100+100+100+50+10+10+10+5+1+1+1=2388) Even counting is difficult

6 CSE 8351 Computer ArithmeticSeidel - Fall 2005 6 Greek Enumeration and Basic Number Formation Use Greek Letters: with the three additional symbols: digamma koppasampi Numbers < 1000 composed:

7 CSE 8351 Computer ArithmeticSeidel - Fall 2005 7 More on Greek Numbers Larger Greek Numbers (apostrophe signals units of 1000) Fractions: Calculations: (multiplication based on distributive law)

8 CSE 8351 Computer ArithmeticSeidel - Fall 2005 8 Types of numbers systems Additional Number Systems (Greece – Syria – China - Roman) Number value is generated as addition of digits (independent of position), e.g. –Unary numbers: |, ||, |||, ||||, … Positional Number Systems (India - Arabic): value of a digit depends not only on symbol, but also on position in the representation (that defines the weight of that digit) Which advantages do additional Number Systems have over Positional number systems for computation?

9 CSE 8351 Computer ArithmeticSeidel - Fall 2005 9 Development of Numbers Numbers similar to ours developed around 600 a.D. Computing device still the fingers, but: 40 finger positions allowed number representations up to 200,000 also allows to compute Digital has been defined back then (latin Word: digitus (finger)). Promoted by Leonardo Fibonnacci (1170-1247) in his book on the Abacus (1202) allows not only to count, but also to compute 16 th century: print digit letters 1 2 3 4 5 6 7 8 9 0

10 CSE 8351 Computer ArithmeticSeidel - Fall 2005 10 Computing devices Very early computing device: tally (write numbers in wood) Allow more computation with the Abacus: http://www.tux.org/~bagleyd/java/AbacusAppJS.html Allows to add and subtract. Multiplication and division requires additional tables

11 CSE 8351 Computer ArithmeticSeidel - Fall 2005 11 Importance of Number Representations A German merchant of the fifteenth century asked an eminent professor where he should send his son for a good business education. The professor responded that German universities would be sufficient to teach the boy addition and subtraction but he would have to go to Italy to learn multiplication and division. Before you smile indulgently, try multiplying or even just adding the Roman numerals CCLXIV, MDCCCIX, DCL, and MLXXXI without first translating them. John Allen Paulos, Beyond Numeracy

12 CSE 8351 Computer ArithmeticSeidel - Fall 2005 12 Simple Computing devices Multiplication and Division more complicated than addition subtraction => Motivation to reduce multiplication to addition Use Logarithms, reduce Multiplications to Additions Use of logarithm tables Corresponding Tool: Sliding rule Still in use in high schools 25 years ago, before calculators were used … http://www.et.htwk-leipzig.de/kontakte/Fechner/projekte/pc-hist/rechner2.htm

13 CSE 8351 Computer ArithmeticSeidel - Fall 2005 13 Abacus Structure http://www.tux.org/~bagleyd/java/AbacusAppJS.html

14 CSE 8351 Computer ArithmeticSeidel - Fall 2005 14 Abacus Operations Introduction and Counting: http://www.ee.ryerson.ca:8080/~elf/abacus/intro.html Addition: http://www.ee.ryerson.ca:8080/~elf/abacus/aaddition.html Subtraction: http://www.ee.ryerson.ca:8080/~elf/abacus/asubtraction.html Book (includes also Multiplication & Division, Square Roots, Cube Roots ):Multiplication & DivisionSquare RootsCube Roots http://www.ee.ryerson.ca:8080/~elf/abacus/leeabacus/bagley/ Applet: http://www.tux.org/~bagleyd/java/AbacusAppJS.html


Download ppt "CSE 8351 Computer Arithmetic Fall 2005 Instructor: Peter-Michael Seidel."

Similar presentations


Ads by Google