WOLFRAM LANGUAGE FEATURED EXAMPLE

Eye Clinic

Patients arrive at an eye clinic according to a Poisson process, with a mean of six per hour. There are three doctors on duty, and the testing times for patients are distributed exponentially, with a mean of 20 minutes. Find the average number of people waiting and the average amount of time spent by a patient at the clinic.

    
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
The average number of people waiting in the queue:
In[3]:=
Click for copyable input
Out[3]=
Average time in minutes spent by a patient at the clinic:
In[4]:=
Click for copyable input
Out[4]=