Plz help me to solve

In how many years will the money deposited in a bank double itself,if the rate of intrest 12 1/2% per annum?

2 answers

if compound interest,

(1+.125)^x = 2
x = 5.88 years

6 years to obtain the interest.
Bt its ans is 8year