$1400 deposit that earns 10% annual interest compounded semiannually
Write a function that represents the balance after t years