SS08_CSE201_Lecture_02

# SS08_CSE201_Lecture_02 - Lecture 02 Thursday January 10,...

This preview shows pages 1–8. Sign up to view the full content.

1 Lecture 02 Thursday January 10, 2008

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
2 Notables ± Reminder: ² Read Chapters 1 and 2 ² Read those articles ± Homework #2 will be posted today ± You have a CSE account; go to http://www.cse.msu.edu/facility/ to find out how to login for the first time. ± Forthcoming topics ² Functions ± Special functions ² Discrete Probability ² System review ² Object representation
3 Refreshing your math ± What is a set? ± What is a function? ± Compute the following: ± Expand the following 10 2 log 8 log 25 + = 5 0 sin 2 n nt π = =

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
4 What is a function? ± Example ² Consider your final grades in CSE 201. Your grade will be one of the values from the set {4, 3.5, 3, 2.5, 2, 1.5, 1, 0} ± What kind of properties does this assignment have? ± Definition: Let A , B be sets. A function f from set A to set B , denoted f : A B , is an assignment of exactly one element of B to each element of A . ± Notation: ² f : A B ² We write f ( a ) = b , if b is the element of B assigned under f to the element a of A . ² We also say f maps A to B
5 Example Stevens Sara 4 0 Adams 2 3 1 Marie f : : A B Grades Students f (Adams) =1 f (Marie) = 4 f (Stevens) = 3 f (Sara) = 3 A B

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
6 Functions… ± How to represent functions 3 4 9 0 1 13 11 7 2 f : : A B A B
7 Important Integer Functions ± Whole numbers constitute the backbone of discrete mathematics and thus computer science.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 03/30/2008 for the course CSE 201 taught by Professor Esfahanian during the Spring '08 term at Michigan State University.

### Page1 / 24

SS08_CSE201_Lecture_02 - Lecture 02 Thursday January 10,...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online