Solution
I think the interest is compounded yearly, if so
First, convert R as a percent to r as a decimal
r = R/100
r = 6.25/100
r = 0.0625 per year
A = 10000
P = 5000
Use logarithms or a scientific calculator
t = 11.5
In 11.5 years $5000 investment be worth of $10000
>>>>>>>>>>>>>
In case the interest is simple interest
Interest = Amount - Principal = $10000-$5000 = $5000
Time = 100*Interest / (Principal*Rate
= 100*5000 / (5000*6.25)
t = 16 years
In 16 years $5000 investment be worth of $10000