Ernie invested $5000 in an account for 3 years at 3.6% p.a. interest compounded quarterly. Inflation over the period averaged 2% per year.
a. Calculate the value of the investment after 3 years.
b. Find the real value of the investment by indexing it for inflation.