Add a row to Table 1.1 showing the approximate maximum input size that can be so
ID: 2250627 • Letter: A
Question
Add a row to Table 1.1 showing the approximate maximum input size that can be
solved in one day, for each column
Explanation / Answer
1 day = 24 hours = 24 * 60 minutes = 24 * 60 * 60 seconds = 24 * 60 * 60 * 10^6 microseconds = 86400000000 microseconds = 8.64 * 10^(10) micro seconds
For the first case, largest n will be
33n = 8.64 * 10^(10)
n = 2.618 * 10^9
For the second case.
46nlog(n) = 8.64 * 10^(10)
nlog(n) = 1.8782 * 10^9
n = 1.018 * 10^8
For the third case,
13n^2 = 8.64 * 10^(10)
n^2 = 6.64 * 10^9
n = (66.4 * 10^8)^(0.5) = 8.1523 * 10^4
For the fourth case
3.4n^3 = 8.64 * 10^(10)
n^3 = 25.4 * 10^9
n = 1364.61
For the last case
2^n = 8.64 * 10^(10)
n = log(8.64 * 10^(10)) = 36.33
Hence largest input will be 36
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.