when working with compound interest does doubling the time of an investment double the amount of interest earned? explain with words and an example.