Question: write a python code about this problem. Problem 3: Heart Specialist A heart specialist schedules 16 patients each day, 1 every 30 minutes, starting at

 write a python code about this problem. Problem 3: Heart Specialist

write a python code about this problem.

Problem 3: Heart Specialist A heart specialist schedules 16 patients each day, 1 every 30 minutes, starting at 9 a.m. Patients are expected to arrive for their appointments at the scheduled times. However, past experience shows that 10% of all patients arrive 15 minutes early, 25% arrive 5 minutes early, 50% arrive exactly on time, 10% arrive 10 minutes late, and 5% arrive 15 minutes late. The time the specialist spends with a patient varies, depending on the type of problem. Analysis of past data shows that the length of an appointment has the distribution in the following table. Simulate the system for 200 days to calculate the following performance measures: a. The probability that a patient will not wait in the queue. b. The probability that the last patient will not wait in the queue. c. The average free time of the specialist. Length of appointment (minutes) Probability 24 27 30 33 36 39 0.20 0.25 0.30 0.10 0.10 0.05 Hint: Drawing a time-line could be useful

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!