Compound Interest: Example 7. Calculate the compound interest based on yearly compounding for a five-year investment, based on an interest of 5%.