235k views
3 votes
Rank the functions by the order of growth.
n², logn ,n! ,nlogn ,2n ,2²ⁿ,(logn)! ,Ln n

User Jagoly
by
7.5k points

1 Answer

5 votes

Final answer:

The functions can be ranked by their order of growth as: n!, 2^n, 2^(2^n), n^2, nLogn, logn, (logn)!, Ln n.

Step-by-step explanation:

Ranking the functions by order of growth:

  1. n!
  2. 2n
  3. 22n
  4. n2
  5. nLogn
  6. logn
  7. (logn)!
  8. Ln n

1. The factorial function, n!, grows faster than any other function.

2. The function 2n grows faster than 22n.

3. The quadratic function, n2, grows faster than the logarithmic functions, nLogn, logn, (logn)!, and Ln n.

Keep in mind that these rankings are based on the order of growth as n approaches infinity.

User Josh Graham
by
7.7k points