On Sat, Jun 5, 2021, 2:07 PM Karl <gmkarl@gmail.com> wrote:
On Sat, Jun 5, 2021, 2:05 PM Karl <gmkarl@gmail.com> wrote:
On Sat, Jun 5, 2021, 2:00 PM Karl <gmkarl@gmail.com> wrote:
On Sat, Jun 5, 2021, 1:58 PM Karl <gmkarl@gmail.com> wrote:
X(t) ~= (number of people who have arrived between 0 and t) - (number
of people who have been fully served between 0 and t)
Both of these values are calculable.
S_n is the number of minutes that pass after person (n-1) arrives, before person n arrives.
We can likely write both of these in abstract parts, as X(t) is written above.
Number of people who have arrived = sum of 1 for each person whose arrival time is less than or equal to t
Number of people who have been fully served = sum of 1 for each person whose serving conditions have been met
Serving conditions. The time at which a person is completely served is the maximum of one minute after they arrive, and two minutes after the previous person arrived.