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

HELP PLEASEEEE!! brainliest.Use the conditional statement to answer the question. If an angle measures 43°, then the angle is acute. Are the statement and
If f(x) = x 2 + 1 and g(x) = 3x + 1, find g(20) + f(6).
the pmf for the r.v. x is as shown
3. What was the name given to the series of laws that closed Boston harbor, required colonists to put up British soldiers in their homes, and allowed British
Which best describes the writing style of the following excerpt from the opening of Ernest Hemingway’s story “Indian Camp”? “Across the bay they found the other
Economics concerns the allocation of resources for which processes? A.production and distribution B.consumption and destruction C.innovation and efficiency
Can someone show me how to do this please.!?
Why wasn't the sun-centered model of copernicus immediately adopted after he proposed it?
There were 135 cars in a rally.Each driver paid a $25 fee to participate in the rally.How much money did the drivers pay in all?
What are three things you can do smoother a fire in skillet?