Problem

Repeat Exercise 8, but instead use the following random events:Customer 1 enters the line...

Repeat Exercise 8, but instead use the following random events:

Customer 1 enters the line at time 0 with a transaction time of 4.Customer 2 enters the line at time 1 with a transaction time of 4.Customer 3 enters the line at time 3 with a transaction time of 1.Customer 4 enters the line at time 4 with a transaction time of 4.Customer 5 enters the line at time 9 with a transaction time of 3.Customer 6 enters the line at time 12 with a transaction time of 2.Customer 7 enters the line at time 13 with a transaction time of 1.

Exercise 8

Assume that customerLine is an instance of the class WaitLine, as given in Segment 10.8. The invocation customerLine.simulate(15, 0.5, 5) produces the following random events:

Customer 1 enters the line at time 6 with a transaction time of 3.Customer 2 enters the line at time 8 with a transaction time of 3.Customer 3 enters the line at time 10 with a transaction time of 1.Customer 4 enters the line at time 11 with a transaction time of 5.

During the simulation, how many customers are served, and what is their average waiting time?

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 10
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT