Find the compound interest and the total amount after an hour if the interest is compounded
every ten minutes.

Principal = 512

Rate of interest = 5% per minute