Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

course: simulation and modeling java program In a supermarket, there is a single waiting line that feeds up to 6 cashiers. A supervisor tells the

course: simulation and modeling

java program

In a supermarket, there is a single waiting line that feeds up to 6 cashiers. A supervisor tells the first customer on the waiting line to go to a free register line once it becomes free so there never is a waiting line at a cash register. The supervisor also decides based on the backlog in the single line (maybe 8 waiting customers) how many of the cash register lines open (there are more than enough employees to have all the lines serviced). Customers arrive at the single line at the rate from 1 to 6 minutes intervals. It takes from 8.0 to 16.0 minutes to check out a customer. If the waiting line becomes short (less than the number of open register lines), the supervisor reassigns the clerk to another task and closes the line. Likewise if the waiting line becomes too long the supervisor opens another register (up to the limit of course).

Use basic random number generator U[0,1) in the computer. It is a double precision number.

Start with one register line.

Run the program several times with different number of customers waiting in the queue before a new server line is opened and also how many to close a register.

E.g, To get a random number between 1 and 6, all double precision numbers in this range equally likely, use 1.0+5*U

Run for 10,000 customers completing.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Accounting questions