Which Big O class would the function (1/2)^n fall into?
On a purely mathematical basis, it seems like we would have to put it into O(1) because 1/2^n approaches 0 for any sufficiently large n.
However, when it comes to asymptotic analysis and Big O, we tend to do a lot of hand-waving and also refer back to formulas. 1/2 is technically a constant, so seemingly would fall into O(c^n).
I lean toward O(c^n) because saying "half an operation" makes no sense when talking about algorithms. What algorithm takes half the time as the input grows larger? At best, I see the math formula (1/2)^n referring to half of some time constant - say, a minute. So (30 seconds)^n becomes a huge number and the function clearly belongs in O(c^n).
A little help?