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

(C=12.01 amu, H=1.008 amu, O=16.00 amu) [?] g/mol CH20
I lost the person i was talking to-
a runner runs at an average speed of 7m/s for 25 seconds how fun did the runner run in metres?
Los 3 personajes del principito?
reasons for the abolition of slave trade​
2. Which principle of green chemistry is illustrated by the following scenario? Chemical company ABC wants to save money. It decides to change its chemical proc
help please 100 brainlest
After becoming emperor of France, how did Napoleon use his large army? A. He overthrew the French monarchy and began the Reign of Terror. B. He brought peace t
what is the number of grams of sodium acetate (NaC2H3O2) will you produce from 5.14 mole of sodium bicarbonate (NaHCO3)
On a coordinate plane, an exponential function decreases from quadrant 2 into quadrant 1 and approaches y = 0. it crosses the y-axis at (0, 4). what is the init