1. Write a (deterministic) simulation program for the G/G/1 queue where the n -th interarrival times equals 5 Summary: Exercises 1. Write a (deterministic) simulation program for the G/G/1 queue where the n - th interarrival times equals 5 4 (1 + sin( + n)) and the service time of the n - th customer equals 1 + sin(n). Output the waiting time of the 20 - th customer for several choices of , and . Include in the program an event list (data structure) and an event handler (procedure). 2. Write a program to examine the random number generator of your computer language. For instance, look at the correlation coefficient be- tween the n-th and (n+k)-th draw. Furthermore, use this generator to find realizations of exponentially distributed random variables and check the memoryless property of the exponential distribution. 3. Write a simulation program for the G/G/1 queue where the n - th interarrival times equals 5 4 (1 +sin(+ n)) and the service time of the n - th customer is exponentially distributed with mean 1. Output the mean waiting time of the 20 - th customer for several choices of and Collections: Engineering