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

29+d = 54; 24, 25, 26
help.I dont know the answer to #11​
WILL MARK BRAINLIEST!!!! HELP ASAP!!!!! 1. Which of the following is an igneous rock? a. slate b. limestone c. calcite d. basalt 2. Which of the following is a
Which best describes the effect of the rhyme of lines 1 and 3 in this excerpt?
Given the functions f(x)=4x+8 and g(x)=2x-12 Find f(x)+g(x)
True or False: A writer uses ellipses to indicate an omission or that something has been left out of a direct quote.
Solve the system using elimination: -3x - 3y = 12 -9x + 3y = -24The answer is not (-1,-3)
Find the equation of the linear function represented by the table below in slope-intercept form. x y 1 3 2 4 3 5 4 6
I am feeling dizzy. Dizzy is a/an A) noun B) verb C) adjective D) adverb
Last year, the numbers of skateboards produced per day at a certain factory were normally distributed with a mean of 20,500 skateboards and a standard deviation