# The emergency room of the community hospital in Farmburg has a receptionist, one doctor, and one nurse.

## Question:

The emergency room of the community hospital in Farmburg has a receptionist, one doctor, and one nurse. The emergency room opens at time zero, and patients begin to arrive sometime later. Patients arrive at the emergency room according to the following probability distribution:
Time between Arrivals (min) Probability
5 .....................0.06
10 ...................0.10
15 ...................0.23
20 ...................0.29
25 ...................0.18
30 ...................0.14
The attention needed by a patient who comes to the emergency room is defined by the following probability distribution:
Patient Needs to See Probability
Doctor alone ...............0.50
Nurse alone ..............0.20
Both ..................0.30
If a patient needs to see both the doctor and the nurse, he or she cannot see one before the other; that is, the patient must wait to see both together. The length of the patient€™s visit (in minutes) is defined by the following probability distributions:

Simulate the arrival of 20 patients to the emergency room and compute the probability that a patient must wait and the average waiting time. Based on this one simulation, does it appear this system provides adequate patientcare?

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