For each of the following pairs of functions f(n) and g(n),
give the values of n0, f(n0) and g(n0)
where n0 is the
smallest positive integer such that f(n0) >= g(n0).
Hint: you may need to use a calculator. Use the log identity
log2 x = (log10 x)/(log10 2)
if your calculator does not take logs in base 2.
- f(n) = n and g(n) = 50 lg2 n
- f(n) = 2n/2 and g(n) = n18
- f(n) = n1/5 and g(n) = lg12 n