You are not logged in.
Pages: 1
Can someone please explain this? I'm not understanding this topic at all. Thanks!
Prove or disprove :
a) f(n) = 2^(n+1) = O(2^n)
b) f(n) = 2^(n+1) = theta(2^n)
c) f(n) = 2^2n = O(2^n)
d) f(n) = 2^2n = theta(2^n)
Offline
Hi;
a)
2^(n+1) = 2 * 2^n so we can say 2^(n+1) =O(2^n), this comes from the definition of O.
c) I would say that is false.
Check this pdf out:
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Pages: 1