WOLFRAM LANGUAGE FEATURED EXAMPLE

Oil Change Center Queue

Cars arrive at an oil change center following a Poisson process, at the rate of four per hour. There is a single available mechanic, and the time taken to perform an oil change is exponentially distributed, with an average of 12 minutes. Approximate an unlimited car space.

    
In[1]:=
Click for copyable input
Steady-state distribution for the system:
In[2]:=
Click for copyable input
Distribution for the number of cars in the system:
In[3]:=
Click for copyable input
Out[3]=
Probability that there are more than three cars at the oil change center:
In[4]:=
Click for copyable input
Out[4]=
Mean and variance for the number of cars in the system:
In[5]:=
Click for copyable input
Out[5]=