Jimmy invests $4,000 in an account that pays 5% annual interest, compounded semiannually. What is his balance, to the nearest cent, at the end of 10 years?