Just plug in 500 for p, 0.2 for r (because 20% is equivalent to 0.20), and 2 for t:

So, if you start with $500 and charge an interest rate of 20% for 2 years, you will gain $200 to get $700 in total.
Answer: -9.999e+23
I don't know what you're up to.
The answer is 0.5778 or 0.578 rounded
Example...
4^x = 16
log(4^x) = log(16)
x*log(4) = log(16)
x = log(16) / log(4)