We set up the equation 4000*1.05^t>10000. Dividing by 4000, we seek to find t such that 1.05^5>2.5. A calculator gives t>18.78, however, since interest is compounded yearly, we want a whole number of years. The smallest whole number greater than 18.78 is 19.