cohorts_of_n function

Sample times between patient arrivals using the exponential distribution.