### Precalculus: ant population on ships

A ship embarked on a long voyage. At the start of the voyage, there were 500 ants in the cargo hold of the ship. One week into the voyage, there were 800 ants. Suppose the population of ants is an exponential function of time. (a) How long did it take the population to double? (b) How long did it take the population to triple?