The compounded interest can be found by the formula

where P is the initial investment, r is the rate in which the account increases in decimal form and n will be the number of coumpounding done in a year.
Replace the data into the formula.

find the amount in 2 years, by giving t the value of 2.
