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