Formula to calculate interest rate:
A is the amount after t years
P is the principal
n is the number of times interest is compounded per year
t is the time in years
r is the rate in decimal form
For the given situation:
P=P
A=3P (triple your investment)
n=1 (compounded anually)
t=4
Then, the annual rate of interest is 31.6%