• retagged by
2,099 views
1 1 vote

Arrange them in increasing order

1 Answer

0 0 votes

logarithmic function<polynomial functions<exponential functions(comparison)

f1(n)=n0.999999logn

f2(n)=10000000n

f3(n)=1.000001n

f4(n)=n2

1-we can clearly see that f3(n) is exponential function and all other are polynomial function so f3(n) is greatest between all.

2-f2(n) is less than f4(n) for sure for larger value of n .

3-now come to f1(n) and f2(n) ,cancel the common terms from each now f1(n)=logn  and f2(n)=n.000001 we can clearly see that f1(n) is logarithmic and f2(n) is polynomial so f2(n)>f1(n) (for large values of n)

from the above discussion we can say that f1(n)<f2(n)<f4(n)<f3(n).

• edited by
Position:
Show:

Related questions

0 0 votes
1 1 answer
148
148 views
GO Classes asked Aug 25
148 views
Let $T_A(n)$ and $T_B(n)$ denote the worst-case running times of two algorithms $A$ and $B$ that solve the same problem.We say that $A$ is asymptotically more efficient t...
0 0 votes
1 1 answer
152
152 views
GO Classes asked Aug 8
152 views
Consider the following functions$f(n)=3n^{\sqrt{n}}$$g(n)=2^{\sqrt{n}\log_2 n}$$h(n)=n!$Which of the following is true?$h(n)$ is $O(f(n))$ $h(n)$ is $O(g(n))$ $g(n)\neq O...
0 0 votes
1 1 answer
588
588 views
Abhishek Kumar 38 asked Dec 15, 2018
588 views
a , c , d all three are right answer please explain if i am wrong.
1 1 vote
2 2 answers
1.1k
1.1k views
Devshree Dubey asked Mar 6, 2018
1,052 views
Find theta bound forf(n)=$n^2/2 -n/2$