I never bothered to learn the formula when I was studying. You know that there are diminishing returns to compounding, so picking a huge number will get you to almost the same answer.
Say it's 5% you're trying to solve: divide .05 by 99999999999, add 1, then put it to the power of 99999999999. The real answer should be ever so slightly above what you just calculated.