Gear2d
- 49
- 0
I need now what is the order (The Big Oh notation) of these three functions:
2^x
3^x
3^(x-10)
2^x
3^x
3^(x-10)
Last edited:
Gear2d said:I need now what is the order (The Big Oh notation) of these three functions:
2^x
3^x
3^(x-10)
Please don't shift from O(g) to "Theta(g)"!Gear2d said:Good point guys. I wanted to compare two of them to each other, let's say:
f(x) = 2^x vs. g(x) = 3^x
now from this I have to determine if f=Theta(g), f<Theta(g) or f>Theta(g). Instead of using L'Hospital rule:
c=lim 2^x/3^x = lim (2/3)^x = 0 as x goes to infinite this would mean that f<Theta(g).
I wanted to do this using order where x>1. Would 2^x have O(2^x) and 3^x have O(3^x), where f(n)<g(n)?