in the case of simple interest, the interest amount will be equal to the Principal P times the annual rate (as a decimal) times the time period
in this case, I = $5,000 x 0.04 x 5 = $1,000
thus, at the end of five years, the total amount will be $5,000 + 1,000 = $6,000