You deposit $500 in a savings account that earns 9% annual interest compounded monthly. Write a function that represents the balance after t years.