Question

In this problem you will prove there is a function that is in O(n, and Ω(n) but is not in Θ(nd) for any 1 sds3. State a function f(n) that is in O(3) and 2(n) but is not in (n) for anylsds3 Prove that f(n)gn forany1sds3.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution:

Our function is f(n)= n^2 log n

Let's have a look at Big-O and Big-Omega first.

u) n) s upper bound in) 2 3 4Ta リ 干 ames ationi1 2. 2. l o U B

Proof:

f(n)= O(n^3)

because

n^2 log n<= c * n^3

The above inequality is true

f(n)= Omega(n)

because

n^2 log n>= c * n

The above inequality is true

but

f(n)メΘ(nd)

because

for any value of d and the constant c, log n cannot be compared and equated.

since its in the form of n and not a constant.

Hence the solution.

Please give it a thumbs up if this helped you, also provide your valuable feedback.

Add a comment
Know the answer?
Add Answer to:
In this problem you will prove there is a function that is in O(n, and Ω(n)...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
Active Questions
ADVERTISEMENT