Calculating Compound Interest after a Specific Time Period