A = P(1+r%)ⁿ , where P = initial value, A= new value, n = number of years and
r% is the growth or depreciation rate, depending on its sign:
If it's a depreciation, the formula becomes:
A = P(1 - r%)ⁿ
500 = 15000(1-0.3)ⁿ
500/15000 = (0.7)ⁿ
0.033333 = 0.7ⁿ
ln(0.03333) = n.ln(0.7)
n = ln(0.03333)/ln(0.7)
n = 9.5 years