Suppose 10 employees share a water cooler (call the employees e0 through e9). The water cooler gets its water from 10-gallon jugs. Suppose that whenever an employee comes to get water, and there is not enough water to fill his mug, he faithfully replaces the empty jug with a full jug, then fills his mug. Suppose further that the size of the employees’ mugs varies from 1 to 2 cups, and there is no way to add the sizes in combination to total 10-gallons exactly – that is, there is no special relationship between the size of the cups and the size of the jug (call the sizes s0 through s9). And suppose that the order in which employees make a trip to the water cooler is indeterministic, but that every employee goes to the water cooler a certain number of times per day (call these w0 through w9).
How can one express the probability that an employee will have to replace the jug? e.g. what is p0 in terms of s0-s9 and w0-w9?
Is it straight multiplication (e.g. p0=s0w0/(s0w0+s1w1+…+s9w9)) or is there something more complex going on here?
How does the problem change if instead of faithfully changing the jug, the employees drain the jug of all remaining water, and leave it for the next sap to replace?
Thanks.