retagged by
1,070 views

1 Answer

2 2 votes

Answer C : $\rightarrow F_1<F_3<F_2$

$\rightarrow$ comparing $ F_1 $and $F_2$

$F_1(n)=n^{\sqrt n}$ ,

$F_2(n)=2^n$

let, $n=K^2$

$F_1(K^2) =  (K^2)^{\sqrt{K^2}} = (K^2)^K=K^{2K} =2^{2Klog_2(K)}$

$F_2(K^2)=2^{(K^2)}$

$K^2 >2Klog_2(K)$

$ \therefore F_2 > F_1$ 

$\rightarrow$ comparing $ F_1 $and $F_3$

$F_1(K^2)=2^{2Klog_2(K)}$

$F_3(K^2)=2^{(\frac {K^2}{2})}.(K^2)^{10}$

here simply, $\frac {K^2}{2}>2.Klog_2(K)$

$ \therefore F_3 > F_1$ 

$\rightarrow$ comparing $ F_2 $and $F_3$

$F_2=2^n=2^{\frac  n 2}\times 2^{\frac  n 2}$

$F_3=2^n=2^{\frac  n 2}\times n^{10}$

$2^{\frac n 2}>n^{10}$ as $exponentiation > polynomial$

$ \therefore F_2 > F_3$ 

 

Thanks @ 

 for rectifying mistake.

 

Alternate way to compare $F_1$ and $F_2$

taking log on both sides,

$log_2(F_1(n))=\sqrt n log_2(n)$

$log_2(F_2(n))=n log_2(2)=n$

now putting $n=K^2$,

$log_2(F_2(n))=K^2$

$log_2(F_1(n))=\sqrt {K^2}log_2(K^2)=2Klog(K)$

$K^2>2Klog_2(K)$

 

edited by
Answer:
Position:
Show:

Related questions

2 2 votes
1 answers 1 answer
1.3k
1.3k views
rsansiya111 asked Dec 8, 2021
1,341 views
Suppose we do merge sort with a three-way split: divide the array into 3 equal parts, sort each part and do a 3 way merge.What would the worst-case complexity of this ver...
0 0 votes
1 1 answer
2.2k
2.2k views
rsansiya111 asked Dec 8, 2021
2,154 views
Suppose we want to extend the union-find data structure to support the operation Reset(c), which takes as input the name of a component c and then breaks up c into single...
0 0 votes
1 answers 1 answer
1.1k
1.1k views
rsansiya111 asked Dec 8, 2021
1,086 views
Consider the following algorithm on a graph with edge weights.Sort the edges as [e1,e2,...,em] in decreasing order of cost.Start with the original graph. Consider each ed...
0 0 votes
1 1 answer
1.6k
1.6k views
rsansiya111 asked Dec 8, 2021
1,633 views
Consider the following strategy to convert a graph with negative edge weights to one that does not have negative edge weights. Let the maximum magnitude negative edge wei...