Nozi earned $24,000 in a savings account that pays an annual interest rate of 1.8%. The savings account is set to compound quarterly, four times per year.

Write a function and make a table.