thembi00prince thembi00prince
  • 18-03-2022
  • Computers and Technology
contestada

Help here please

Show that 2n+1 is O(2n
) and 8n+5 = Ω(n)

Respuesta :

codeproexperts
codeproexperts codeproexperts
  • 18-03-2022

Answer:

Show that 2n+1 is O(2n)

Given f(n) = 2n+1

Definition of Big-Oh

f(n) = O(g(n)) means there are positive constants c and k, such that 0 ≤ f(n) ≤ cg(n) for all n ≥ k.

0 ≤ 2n+1 ≤ 2(2n)

Where c=2, n>0 and g(n)=2n

Explanation:

So, from the definition of Big-Oh we can say that

f(n) = O(g(n)) = o(2n)

Answer Link

Otras preguntas

In the middle of the charcoal grill, there was a charred steak. What is the participle in the sentence? middle was steak charred
what is 0.1 as a percentage?
Identify the subject as too broad, adequate, or too narrow. Football
forty-five children attend a preschool. The number of two-year-olds is one half the number of three-year-olds. The number of Four-year-olds is the same as the n
in a recent poll of 2000 households 29% had pets how many house holds did not have pets
Which best meets the definition of a region? A. the National Forests of the United States B. the states known as the Deep South C. mountains including Mount
One of the largest pumpkins ever grown weighed about 3 over 4 ton. How many pounds did the pumpkin weigh???
What is the standard form for 25x²+4y²+50x-24y-39=0
How has the role of children in society changed from colonial times to the present? (Hint: Do children still do the same things today as they did in colonial ti
Help!I need help in math