CSE 20 Discrete Mathematics Instructor CK Cheng, CSE2130, tel: 858 534- 6184 Teaching Assistants Peng Du

Slides:



Advertisements
Similar presentations
LESSON 1.2 ORDER OF OPERATIONS MFM1P
Advertisements

Chapter 8 Introduction to Number Theory. 2 Contents Prime Numbers Fermats and Eulers Theorems.
Fundamentals of Probability
Chapter 6 Elasticity and Demand.
Introduction to Computer- Based Information Systems Summer 2005 (CRN 50291), MW 7: :25, CS100 Instructor: Jack G. Zheng Course Introduction June.
3 Developmental Math Courses Basic Math, Elementary Algebra, Intermediate Algebra 6 College Level Math Courses College Algebra, Statistics, Finite Math.
By John E. Hopcroft, Rajeev Motwani and Jeffrey D. Ullman
Measurements and Their Uncertainty 3.1
Year 6/7 mental test 5 second questions
Columbus State Community College
CISC Data Structures Ben Perry University of Delaware Summer 2011.
SW381: Web Applications Development Prerequisite: SW211 (Introduction to Software Engineering) Instructor: Dr. Mohammad Anwar Hossain Office: Room 2058.
CSI 1306 ALGORITHMS - PART 4 LIST PROCESSING. Lists Sometimes a problem deals with a list of values We represent such a list with a single name, and use.
Marywood Math Contest Saturday, March 29, 2014 Marywood University Liberal Arts Center 10:00 – 11:00 am (Arrive by 9:30 am)
Digital Systems Introduction Binary Quantities and Variables
(CSC 102) Discrete Structures Lecture 5.
CS105 Introduction to Computer Concepts GATES and CIRCUITS
§ 7.7 Complex Numbers.
Area of triangles.
Solving Equations How to Solve Them
Applied Technology CIS-400 Central State University Prof. Hicks.
CS 858 – Hot Topics in Computer and Communications Security Fall 2010 Introduction.
CMPT 275 Software Engineering
Computer Science Department
Exponents and Radicals
CSE20 Lecture 15 Karnaugh Maps Professor CK Cheng CSE Dept. UC San Diego 1.
Partial Products. Category 1 1 x 3-digit problems.
Bottoms Up Factoring. Start with the X-box 3-9 Product Sum
IEOR 4004: Introduction to Operations Research Deterministic Models January 22, 2014.
Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)
and M-ary Quadrature Amplitude Modulation (M-QAM)
3 - 1 Copyright McGraw-Hill/Irwin, 2005 Markets Demand Defined Demand Graphed Changes in Demand Supply Defined Supply Graphed Changes in Supply Equilibrium.
Based on Rosen, Discrete Mathematics & Its Applications, 5e (c) Michael P. Frank Modified by (c) Haluk Bingöl 1/18 Module #0 - Overview.
Welcome to ENEE244-02xx Digital Logic Design
CS220 : Digital Design. Basic Information Title: Digital Design Code: CS220 Lecture: 3 Tutorial: 1 Pre-Requisite: Computer Introduction (CS201) Ass. Prof.
1 Lecture 1: Introduction to Digital Logic Design CK Cheng CSE Dept. UC San Diego.
1 Lecture 1: Introduction to Digital Logic Design CK Cheng CSE Dept. UC San Diego.
Slide 1 Instructor: Dr. Hong Jiang Teaching Assistant: Mr. Sheng Zhang Department of Computer Science & Engineering University of Nebraska-Lincoln Classroom:
1 CSE 20: Lecture 7 Boolean Algebra CK Cheng 4/21/2011.
01 March 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction.
CSE 20 Discrete Mathematics Instructor CK Cheng, CSE2130 tel: Teaching Assistants Jingwei Lu
CSE 311 Foundations of Computing I Autumn 2012 Lecture 1 Propositional Logic 1.
CS 103 Discrete Structures Lecture 01 Introduction to the Course
Social Psychology: Attitudes & Persuasion (PSY320)
Introduction to Network Security J. H. Wang Feb. 24, 2011.
EE 3561_Unit_1(c)Al-Dhaifallah EE 3561 : - Computational Methods in Electrical Engineering Unit 1: Introduction to Computational Methods and Taylor.
CPSC 321 Introduction to Logic Circuit Design Mihaela Ulieru (‘Dr. M’)
Introduction to Discrete Mathematics J. H. Wang Sep. 14, 2010.
CS220 : Digital Design.
ECEN 248: INTRODUCTION TO DIGITAL DESIGN
Introduction to Computer Design CMPT 150 Section: D Ch. 1 Digital Computers and Information CMPT 150, Chapter 1, Tariq Nuruddin, Fall 06, SFU 1.
1 Lecture 1: Introduction to Digital Logic Design CK Cheng CSE Dept. UC San Diego.
40551 Logic Synthesis Optimization Dr. Yaser M. Agami Khalifa Fall 2004 Lecture # 1.
Data Representation in Computer Systems. 2 Objectives Understand the fundamentals of numerical data representation and manipulation in digital computers.
مدار منطقي مظفر بگ محمدي Course Structure & Grading Homework: 25% Midterm: 30% Final:50% There is 5% extra! ( =105!) Textbook:
CE1111 :Digital Logic Design lecture 01 Introduction Dr. Atef Ali Ibrahim.
Course contents Chapter 1 - section 1.6 Chapter 2 - all sections Chapter – 4.7, and 4.12 Chapter , Chapter 6 - all sections.
Discrete Mathematics CS204 Spring CS204 Discrete Mathematics Instructor: Professor Chin-Wan Chung (Office: Rm 3406, Tel:3537) 1.Lecture 1)Time:
التحليل والتصميم المنطقي DIGITAL DESIGN Instructor : Khalil Alsulbi Mobile : Room : 217.
Introduction to Information Security J. H. Wang Sep. 18, 2012.
CEC 220 Digital Circuit Design Binary Codes
CEC 220 Digital Circuit Design Wednesday, January 7 CEC 220 Digital Circuit Design Slide 1 of 12.
Slide Copyright © 2009 Pearson Education, Inc. Unit 1 Number Theory MM-150 SURVEY OF MATHEMATICS – Jody Harris.
CEC 220 Digital Circuit Design Monday, August 24 CEC 220 Digital Circuit Design Slide 1 of 13.
CEC 220 Digital Circuit Design Binary Codes Mon, Aug 31 CEC 220 Digital Circuit Design Slide 1 of 14.
Welcome to CSE 370 Introduction to Digital Design Jan 10, 2002.
COMP 283 Discrete Structures
CSE 20 Survey CK Cheng UC San Diego
Introduction CSE 373 Data Structures.
CSE 321 Discrete Structures
Presentation transcript:

CSE 20 Discrete Mathematics Instructor CK Cheng, CSE2130, tel: Teaching Assistants Peng Du Office Hours: TBA Han Suk Kim Office Hours: TBA Iman Sadeghi Office Hours: TBA 1

Textbooks Lectures in Discrete Mathematics – Edward A. Bender and S. Gill Williamson – dex.html Discrete Mathematics – Seymour Lipschutz and Marc Lipson – Schaum's Outline Series, Third Edition, McGraw Hill,

Grading Quizzes and Office-Hr Visits Midterm 1 Th 4/14/2011 Midterm 2 Th 5/12/2011 Final Exam – (comprehensive with emphasis on the contents after Midterm 2) M 6/6/2011, 3-6PM 5% 25% 30% 40% 3

Administrative Schedule – Lectures: 3:30-4:50PM TTh, Center 216. – Discussion: 12:00-12:50AM W, Center 214. First Discussion Section: Wednesday, 4/6 – CK Cheng Office hours: 2:00-2:50PM T, 1:30- 2:20PM Th, CSE

Course Outline Part 1. Numbers: choice of number systems, binary, Gray code, one's complement, two's complement, residual number system, theorems of primes and modulations. Part 2. Boolean Algebra: manipulation of logic and gates, laws and theorems, tautology, SAT, multiple elements, minimization. Part 3. Functions and Recursion: function definition and calculation, induction process, k'th order series, Factorial, Fibonacci, Ackerman, division, square root iterations. 5

Part I. Number Systems 1.Introduction 2.Binary Number B.F. Section 2 3.Gray Code 4.Negative Numbers B.F. Section 2 5.Residual Numbers N.F. Section 1, Shaum Ch. 11 6

I. Introduction 1.Examples of different number systems 2.Efficiency of the systems 3.Remarks 7

1. Example of Number Systems Radices (or Bases) Decimal – Each digit has a weight of 0-9 with each place multiplied by 9 – Radix 10  increase each place holder by 10 – Example:250=2* *10 Binary – Each place has a weight of 2 – Radix 2 – Example: 11010, can sum weights  = 26 Ternary – The weight of each place advances by a factor of 3 – Radix 3 Hybrid – Places have varying weights – Example: time – 1 year 3 months 2 days 1 hour 4 min 26 seconds 8

1. Examples (cont.) Binary (radix 2) – 2 symbols possible in each place (0, 1). – With n digits, we need 2n tokens with 2 tokens per digit. – With n digits, 2 n numbers can be represented Ternary (radix 3) – 3 symbols possible in each place (0, 1, 2). – With n digits, we need 3n tokens – With n digits, 3 n numbers can be represented (radix 5) – 5 symbols possible in each place (0, 1, 2, 3, 4). – With n digits, we need 5n tokens – With n digits, 5 n numbers can be represented Decimal (radix 10) – 10 symbols possible in each place (0, 1, 2, 3, 4, 5, 6, 7, 8, 9). – With n digits, we need 10n tokens – With n digits, 10 n numbers can be represented 9

2. Efficiency of Number Systems How many numbers can we represent in each system with 30 symbols? Binary – 30=2n  The length of the number is n=15 – 2 15 ~ 33,000 Ternary – 30=3n  The length of the number is n=10 – 3 10 ~ 60,000 Radix 5 – 30=5n  The length of the number is n=6 – 5 6 ~ 16,000 Decimal – 30=10n  n=3 – 10 3 ~

What’s Most Expressive? For radix k, with n digits – Range is k n – # tokens required is kn=t – We maximize the range at a constant #token= t k n =k t/k  In real space, the solution is k=e e is closest to the integer 3 – As seen in previous slide, ternary number systems can represent the most numeric values for a given number of tokens. – However ternary is difficult to implement, so binary is used in computer systems. 11

3. Remarks We design number systems according to the usages and technologies. For VLSI designs, binary number system is consistent with the technology. Various number systems are possible for different goals and technologies, e.g. low power, reliability, security, bandwidth. 12