Answer to Question #270359 in Discrete Mathematics for Nancy

Question #270359

a particular algorithm increases in time as the number of operations n increases.

Suppose the time complexity of this algorithm is given by:

f(n)=4n2+5n2*log(n)

Show that f(n) is O(g(n)) for g(n) = n3



1
Expert's answer
2021-11-30T16:05:56-0500

"f(n)=4n^2+5n^2log(n)\\le4n^3+5n^3=9n^3=9g(n)"

so f(n) is O(g(n))


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS