Simulation

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 2

A dentist schedules all his patients for 30 minutes appointment.

Some of the patients take more or


less 30 minutes depending on the type of dental work to be done. The following summary shows
different categories of work, their probability and actual time needed.

Category Time Required (Minutes) No of Patients Probability


Filling 45 40 .40
Crown 60 15 .15
Cleaning 15 15 .15
Extracting 45 10 .10
Check-up 15 20 .20

Simulate the dentist’s clinic for 4 hours and find out the average waiting time of the patients and idle time of the
doctor. Assume that all the patients come at the clinic at their exact schedule time. The clinic starts at 8 AM. Use the
following random number to solve the above problem.
40 82 11 34 25 66 17 79
Patient Arrival Work Starts Work Work Ends Patient’s Doctor’s Idle
Duration Waiting Time Time
1 8.00 8.00 60 9.00 0 0

2 8.30 9.00 15 9.15 30 0

3 9.00 9.15 45 10.00 15 0

4 9.30 10.00 45 10.45 30 0

5 10.00 10.45 45 11.30 45 0

6 10.30 11.30 15 11.45 60 0

7 11.00 11.45 45 12.30 45 0

8 11.30 12.30 45 1.15 60 0

You might also like