Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

import numpy as np import random def simulatesingleserverqueuef g t Simulates a singleserver queue u... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

An Introduction To Management Science Quantitative Approaches To Decision Making

Authors: David R. Anderson, Dennis J. Sweeney, Thomas A. Williams, Jeffrey D. Camm, James J. Cochran

14th Edition

1111823618, 978-1305544666, 1305544668, 978-1111823610

More Books

Students also viewed these Operating System questions