A Compound Interest Problem