Question: Please use r Write code in Python or R to simulate the Lindley Recursion for an M/G/1 queue where the arrival process is Exp(1 =
Please use r

Write code in Python or R to simulate the Lindley Recursion for an M/G/1 queue where the arrival process is Exp(1 = 1/5), and the service distribution is N (n = 4, 02 = 1). Write your program to have the following specifications: Input: m which is number of customer delays to run the recursion for Wq, i = 1,..., m. - Input: a is the proportion of customer delays to truncate from the start of the series, so the number of points truncated is c = a x m. - Write the code to run 100 replications of the recursion (for given m and a). - Output: Estimate of Wq calculated from the average of the averages from each replication. - Output: Use Little's law to also output Lq.W.L. Write code in Python or R to simulate the Lindley Recursion for an M/G/1 queue where the arrival process is Exp(1 = 1/5), and the service distribution is N (n = 4, 02 = 1). Write your program to have the following specifications: Input: m which is number of customer delays to run the recursion for Wq, i = 1,..., m. - Input: a is the proportion of customer delays to truncate from the start of the series, so the number of points truncated is c = a x m. - Write the code to run 100 replications of the recursion (for given m and a). - Output: Estimate of Wq calculated from the average of the averages from each replication. - Output: Use Little's law to also output Lq.W.L
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
