- This program simulates the queue problem described in the book where the interarrival times between successive customers are exponentially and the service times for successive customers are exponentially distributed. You specify these distributions by giving their means and the "Total time" you want to observe the queue. The program plots the queue length and the distribution of the waiting time and queue length.

The source.