Question: 2. Develop a public function that calculates and returns the average length of a server queue. For an M/M/I queue (single server, exponential processing and
2. Develop a public function that calculates and returns the average length of a server queue. For an M/M/I queue (single server, exponential processing and arrival rates), L - while for an M/G/1 queue (single 1-2 server, exponential arrival rate and any distribution for processing rate) La 22 g p is utilization of the 21-) Server (a value 20 and 0), and is the standard deviation of the server processing time (value > 0). These values should be passed to the function and o should be optional arguments). Use an enumeration to define the queue type. The function should print an error message and then throw an exception if any of the arguments are out of range
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
