to determine the time constant