If an amount of money, called principle, p, is deposited into an account that earns interest at a rate r, compound annually, then in two years that investment will grow to an amount A, given by the formula A=P(1+r)^2. If a principle amount of $5000 grows to $5940.50 in two years, what is the interest rate?