Answer
8.8 years
Work Step by Step
$P=5000$
$A=10000$
$r=.08$
$n=4$
$A=P*(1+(r/n))^{n*t}$
$10000=5000*(1+(.08/4))^{4*t}$
$10000=5000*(1.02^{4t})$
$10000/5000=5000/5000*(1.02^{4t})$
$2=1.02^{4t}$
$ln 2 = 4t*ln 1.02$
$ln 2/ln 1.02 =4t*ln 1.02/ln 1.02$
$ln 2/ln 1.02 = 4t$
$35.003 = 4t$
$35.003/4 =4t/4$
$8.75 =t$