david invest $10,000 in a CD that pays 8% compounded quarterly. how long will it take his investment to double