1. Implement an M/M/1 simulation model in Java. The interarrival times of 100 customers (in minutes) are recorded in the text file “interarrivaltimes.txt” attached.The service times (in minutes) for these 100 customers arerecorded in the text file “servicetimes.txt” attached. Your Java program should read inter-arrival timesand service times from these two text files and use them in your simulation. Start the simulation with an empty system and stop the simulation when the 100 th

(a) The average number of customers in queue; (b) The average waiting time in queue;

(c) The average server utilization.

customer arrives. Report:

Hint: Look at Section 4.4 in Discrete Event Simulation by Jerry Banks 5th Edition

2.In your M/M/1simulation model, instead of reading interarrival times and service times from the text files as in the previous assignm Arena Input Analyzer to fit exponential distributions to the data set in “interarrivaltimes.txt” and“servicetimes.txt”

write functions to generate random inter-arrival times and service timesfrom the fitted exponential distributions. For random number Example 7.4. Use the inverse CDF method to generate exponential random variates. You only

need to do a single replication. Again, start your simulation with an empty system and run your simulation for 10,000 minutes. Report

(a) The average number of customers in queue;

(b) The average waiting time in queue;

(c) The average server utilization.

3. In this assignment, you will run100 independentreplications, each staring with an empty system and running for

10,000 minutes, to compute 95% t-confidence intervals on

(a) The average number of customers in queue;

(b) The average waiting time in queue;

(c) The average server utilization.