Customers arrive at the Blinkies Donut shop between 6:30am and 8:30am according to a Poisson process with a mean rate of one every minute. Seventy percent of the arriving customers purchase one or two donuts, while 30% purchase the Blinkies Dozen pack. For customers purchasing one or two donuts, the service time is uniformly distributed between 30 and 50 seconds. For customers purchasing the Blinkies Dozen pack, the service time is exponentially distributed with a mean of 90 seconds.
Blinkies employs a single clerk to help customers. Simulate the arrival of the first 20 customers into the store during the 6:30am to 8:30am time period. Determine the maximum number of customers who will wait in line to begin service during this period. You can use the Excel Random Number function.
This posting contains solution to following problem on Monte carlo simulation.