Question

Prove each case f(n) = O(g(n)) by providing enough justification. 1) f(n) = n2.5 2) f(n)...

Prove each case f(n) = O(g(n)) by providing enough justification.

1) f(n) = n2.5

2) f(n) = n10

0 0
Add a comment Improve this question Transcribed image text
Answer #1
Big-Oh definition:
-------------------
f(n) = O(g(n)) means there are positive constants c and k, such that 0 ≤ f(n) ≤ cg(n) for all n ≥ k.

1) f(n) = n2.5
0 <= f(n) <= 2n^2.5
Where c=2, n>0 and g(n)=n^2.5
So, from the definition of Big-Oh we can say that f(n)=

2) f(n) = n10
0 <= f(n) <= 2n^10
Where c=2, n>0 and g(n)=n^10
So, from the definition of Big-Oh we can say that f(n)=
Add a comment
Know the answer?
Add Answer to:
Prove each case f(n) = O(g(n)) by providing enough justification. 1) f(n) = n2.5 2) f(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
ADVERTISEMENT