Question: Write a program to simulate a single-server queue using Lindley's equation. As- sume that the interarrival times have cumulative distribution function F and the

Write a program to simulate a single-server queue using Lindley's equation. As- sume that the interarrival

Write a program to simulate a single-server queue using Lindley's equation. As- sume that the interarrival times have cumulative distribution function F and the service times have cumulative distribution function G. Suppose that at time 0 there are no jobs, and we are interested in the first time that a job encounters a waiting time (before service starts) of more than T. Using independent replications, derive a point estimator and confidence interval for E(T). Your confidence interval width should be no more than about 15% of the estimated value. Do the simulation for each of the following choices of F, G and T. (1) (2) 0 T= 3, F(x)= x T=2, F(x)= -{- = x 0, 0x 2, x > 2. x 0, - exp(-x) 0x. G(x) = G(x) = 0 x 0, x 1 0x 1, x > 1. x x 0, 0x 1, x > 1.

Step by Step Solution

3.41 Rating (160 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

import numpy as np import random def simulatesingleserverqueuef g t Simulates a singleserver queue u... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!