Deprecated: Implicit conversion from float-string "1540978828.888" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1540978828.888" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1540978828.888" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1540978828.888" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1540978828.888" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1540979221.872" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1540979221.872" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1540979221.872" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1540979221.872" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1540979221.872" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1529388590.518" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1529388590.518" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1529388590.518" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1529388590.518" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1529388590.518" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594
Algorithms: Increasing Growth order
edited by
2,263 views
0 votes
0 votes

edited by

2 Answers

0 votes
0 votes
I am calculating it like below.

let n = 2^2^3

(i) nlog n = 2^8 * 8

(ii) n log(log n) = 2^8 * 3

(iii) n log(n^n) = 2^8 * 2^8 * 8

(iv) n (log n)^2 = 2^8 * 16

So the order is 3,4,1,2

Not sure if I'm doing something wrong.
0 votes
0 votes

Put $n = 2^{16}$

i) $n log  n \rightarrow 2^{16} log 2^{16} = 2^{16} . 16 = 2^{20}$

ii) $n log(log n) \rightarrow 2^{16} log (log (2^{16})) = 2^{16} . 4 = 2^{18}$

iii) $n log (n^n) \rightarrow n^2 logn = ({2^{16}})^2 log( 2^{16}) = 2^{32}.16 = 2^{36}$

iv) $n (logn)^2 \rightarrow 2^{16} (log (2^{16}))^2 = 2^{16}. 256 = 2^{16}. 2^8 = 2^{24}$

Therefore the correct increasing order is $ii < i < iv < iii.$

So, the answer is None of these.

Related questions


Deprecated: Implicit conversion from float-string "1536325971.187" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1536325971.187" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1536325971.187" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1536325971.187" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803
2.5k
views
1 answers
3 votes
sunil sarode asked Dec 19, 2017
2,480 views
Which of the following options provides the increasing order of asymptotic complexity of functions(Note: Consider log base 2)a) f1(n)=n logn log lognb) f2(n)=(n!)^1/nc) f...
356
views
0 answers
1 votes
Mayankprakash asked Sep 7, 2018
356 views
1.What is exact difference between order of growth of the function and asymptomatic growth of the functions?Please suggest on above point.
1.7k
views
1 answers
1 votes
prathams asked Jan 10, 2016
1,730 views
Arrange the following functions in ascending order according to their order of growths.$$\begin{align}f_1 &= 100000 \cdot n\\[1em]f_2 &= \frac1{30} \cdot n^2\\[1em]f_3 &=...