lecture17 - Lecture 17 Growth of functions Course Stats Tag...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
Lecture 17 Growth of functions
Background image of page 1

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

View Full DocumentRight Arrow Icon
Course Stats Tag Points Max Min Std Mean Median HW1 100.000000 120.000000 0.000000 21.251600 97.775700 102.000000 HW2 100.000000 120.000000 0.000000 27.079000 92.532700 97.000000 QUIZ1 100.000000 115.000000 0.000000 26.445900 84.028000 90.000000 QUIZ2 100.000000 115.000000 0.000000 22.992700 83.813100 87.000000 Those of you in recitation sections 003 and 004 can pick up their quizzes after the lecture
Background image of page 2
Asymptotic Behavior General Idea: analyze what happens as the input size grows large k Even though initially the red function is better, after the input size exceeds k, the green function is faster Running time Input size
Background image of page 3

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

View Full DocumentRight Arrow Icon
Big Oh Notation If f(x) and g(x) are two functions of a single variable, the statement f(x) is O(g(x)) means that k R , c R , x R , x k 0 f(x)| c g(x)|. After a while (when the input size is larger than k), g(x) becomes larger than f(x) up to a constant c .
Background image of page 4
If f(x) is O(x
Background image of page 5

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

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/21/2011 for the course CSCI 2011 taught by Professor Staff during the Spring '08 term at Minnesota.

Page1 / 19

lecture17 - Lecture 17 Growth of functions Course Stats Tag...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online