Java programming for a m/m/1 queue

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.







Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Order your essay today and save 10% with the coupon code: best10