From wiki, the compound interest formula
Formula for calculating compound interest:
* A = final amount
* P = principal amount (initial investment)
* r = annual nominal interest rate (as a decimal)
* n = number of times the interest is compounded per year
* t = number of years
Should be simple plugging in and getting answers.
The only thing you have to watch out for is when they say compounded continuously. This means that n would be infinity so you need to set up a limit.