12. (a) Patients arriving at a village dispensary are treated by a doctor on a first-come first-served

Question:

12.

(a) Patients arriving at a village dispensary are treated by a doctor on a first-come first-served basis.

The inter-arrival time of the patients is known to be uniformly distributed between 0 and 80 minutes, while their service time is known to be uniformly distributed between 15 and 40 minutes.

It is desired to simulate the system and determine the average time a patient has to be in the queue for getting service and the proportion of time the doctor would be idle.

Carry out the simulation using the following sequences ofrandom numbers. The numbers have been selected between 00 and 80 to estimate inter-arrival times and between 15 and 40 to estimate the service times required by the patients.

image text in transcribed

(b) How would your answer in

(a) change ifthere were two doctors instead, to attend the patients?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: