Returns the number of periods required by an investment to reach a specified value