A principal of ​$5500 is invested in an account paying an annual rate of 4​%. find the amount in the account after 3 years if the account is compounded​ semiannually, quarterly, and monthly.