Compound interest and annuities