Rank the following functions by asymptotic growth rate in non-decreasing order: f1(n) = 221000000; f2(n) = 21000000n; f3(n) = n2; f4(n) = npn: Justify your answer! Example: The function f(n) = n grows asymptotically slower then the function g(n) = n2; that is, f(n) 2 O(g(n)), but g(n) 2 O = (f(n)). (ii) Using big O-notation show that n1+0;001 2 O = (n).

icon
Related questions
Question

Rank the following functions by asymptotic growth rate in non-decreasing order:
f1(n) = 221000000; f2(n) = 21000000n; f3(n) = n2; f4(n) = npn:
Justify your answer!
Example: The function f(n) = n grows asymptotically slower then the function
g(n) = n2; that is, f(n) 2 O(g(n)), but g(n) 2 O = (f(n)).
(ii) Using big O-notation show that n1+0;001 2 O = (n). 

 

Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer