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

How many times does 17 go into 65 no decimals please only remainders if there is one.
A set of patio furniture is marked 25% off. If the furniture is $395.99, what is the best estimate of the sale price of the furniture? A. $100 B. $200 C. $300 D
If 50% of 240 is 120, what is 75% of 240?
Select three numbers that are between -0.55 and -0.54. -0.548 -0.058 -0.5469 -0.542 0.551
Find the unknown value in the ratio. __:14=9:8 3:__=2:1.25 Will mark first answer brainliest (only if its right)
What is an equivalent expression for 2/3-4/5
Brainelst if correct
Can somebody pweasse give me a good introduction and thesis paragraph for my essay “what does a poppy symbolize?” I dont have a good one :( WILL MARK BRAINLIEST
Who can answer this correctly for extra points?
I Need Help With This, It is My Last question