What is the largest n for which one can solve within a day using an algorithm that require

nicekikah

nicekikah

Answered question

2021-08-15

What is the largest n for which one can solve within a day using an algorithm that requires f(n) bit operations, where each bit operation is carried out in 1011 seconds, with these functions f(n)?
a) logn
b) 1000n
c) n2

Answer & Explanation

AGRFTr

AGRFTr

Skilled2021-08-16Added 95 answers

Step 1
Consider the provided question,
Hello. Since your question has multiple sub-parts, we will solve first three sub-parts for you that means 16. (a), (b), (c). If you want remaining sub-parts to be solved, then please resubmit the whole question and specify those sub-parts you want us to solve.
a) Each bit operation is carried out in 1011seconds.T=1011 seconds.
The algorithm can take at most 1 day which contains 24×60×60=86400 seconds, while there are tT=864001011=8.64×1015 possible bit operation in 86400 seconds. Step 2
Algorithm requires f(n)=logn bit operations:
logn=8.64×1015
Since, the algorithm has base 2, because bits only have 2 possible values.
log2n=8.64×1015
Now, use the property logax=bx=ab
So, n=28.64×1015
Thus, n=28.64×1015
Step 3
b) Each bit operation is carried out in 1011 seconds. T=1011 seconds.
The algorithm can take at most 1 day which contains 24×60×60=86400 seconds, while there are tt=864001011=8.64×1015 possible bit operation in 86400 seconds.
Algorithm requires f(n)=1000n bit operations:
1000n=8.64×1015
n=8.64×10151000
n=8.64×1012
Thus, n=8.64×1012
Step 4
c) Each bit operation is carried out in 1011 seconds. T=1011 seconds.
The algorithm can take at most 1 day which contains 24×60×60=86400 seconds, while there are tT=864001011=8.64×1015 possible bit operation in 86400 seconds.
Algorithm requires f(n)=n2 bit operations:
n2=8.64×1015
n=8.64×1015
n9.295×107
Thus, n9.295×107

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?