| Homework 4DetailsHomework 4Due January 31, 2006All problems are taken from Introduction to the Design and Analysis of Algorithms.Your work should be clear, concise, and in the order given.No scratched-out work, etc. should be present on your assignment.Illegible or messy work may result in a reduction in points. It is recommended that you learn and use some computer typesetting software (e.g. Word or LaTeX). Section | Page | Problem | Points | 2.2 | 60 | 61 | 8 | 2.3 | 68 | 6 | 5 | 2.3 | 69 | 10 | 3 | Ranking2 | 9 | Total | 25 |
Notes: - For part a, prove upper and lower bounds. For part b, you want to prove that for anypositive constants a and b with a< b, that an is O(bn), but that bn is not O(an).
- Ranking Rank the following functions in increasing order of growth, clearlyindicating ties:
- n
- (n-2)!
- n2
- log n
- n - n3 + 7n5
- n2 + n log n
- en .5
- 2n-1
- log log n
- n3
- ln n
- 2n
- (log n)3
- n!
- n1+e (0 < e < 1)
- n log n
- 5 log ((n+5)20)
- .00001n4 + 20000n3
- n1/3
- 5n
|