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