Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. a) Let f(n) = 6n 2 - 100n + 44 and g(n) = 0.5n 3 . Prove that f(n) = O(g(n)) using the definition

1. a) Let f(n) = 6n2 - 100n + 44 and g(n) = 0.5n3 . Prove that f(n) = O(g(n)) using the definition of Big-O notation. (You need to find constants c and n0).

b) Let f(n) = 3n2 + n and g(n) = 2n2 . Use the definition of big-O notation to prove that

  1. f(n) = O(g(n)) (you need to find constants c and n0) and

  2. g(n) = O(f(n)) (you need to find constants c and n0).

Conclude that f(n) = (g(n)).

2. Order the following 16 functions by asymptotic growth rate from lowest to highest. If any are of the same order then circle them on your list.

5n-6, 3, 5n+n3, image text in transcribed , n2.01, 3log2n, 4log n, n!, log n3, n1/3, 3n3-5n+n4, n log n +4n, 10n4, 4n, 2n, 4n+1. Note: When comparing two functions f(n) and g(n) you may use image text in transcribed to compare their asymptotic growth rates.

lim (f(n)/g(n))

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

How can CIM and FMS help a manufacturer to produce products?

Answered: 1 week ago