Answer: 35 years
Explanation:
[tex]A=P(1+\frac{r}{n})^{nt}[/tex]
Where,
A - the ending amount,
P - the beginning amount (or "principal")
r - the interest rate (expressed as a decimal)
n - the number of compounding a year
t - the total number of years
n=1, t=?, P = $50,000, r=0.09, A= $1,000,000
Therefore,
[tex]1,000,000=50,000(1+\frac{0.09}{1})^{t}[/tex]
[tex]1,000,000=50,000(1.09)^{t}[/tex]
[tex]20=(1.09)^{t}[/tex]
Taking log on both sides
log(20) = t log(1.09)
1.30103 = 0.0374264979 t
t = 34.7622
So answer is 35 years.