total amount = P (1 + i)t

Wallace took out a $5,000 loan for six years. He is being charged 4 percent interest, compounded annually. Calculate the total amount he will pay.