A mathematical approach toward defining and calculating the duration of the lag phase