1(a). For an M/M/1 queuing system, write your own function in R to compute and output the: 1. long-run probability po,p1,…,pn of there being 0,..,n people in the system. 2. the values L, Lq, W, Wq, and Wse. The function should return elements with the names probs (vector of po,…,pn), L, Lq, W, Wq, and Wse (does not have to be in this order) The function should take as inputs, lambda (arrival rate), mu (service rate), and n (the number of people to compute probabilities for 0,…,n) Note: you are to code the computations for the above on your own, so none of the functions in the queueing package are to be used. 1(b). Using your function from 1(a), find the values (b)-(f) in the Queuing Theory (M_M_1).
1(a). For an M/M/1 queuing system, write your own function in R to compute and
output the:
1. long-run probability po,p1,…,pn of there being 0,..,n people in the system.
2. the values L, Lq, W, Wq, and Wse.
The function should return elements with the names probs (
Wq, and Wse (does not have to be in this order)
The function should take as inputs, lambda (arrival rate), mu (service rate), and n (the
number of people to compute probabilities for 0,…,n)
Note: you are to code the computations for the above on your own, so none of the functions
in the queueing package are to be used.
1(b).
Using your function from 1(a), find the values (b)-(f) in the Queuing Theory
(M_M_1).

Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 4 images









