exercise:Febdbfe7af: Difference between revisions
From Stochiki
(Created page with "<div class="d-none"><math> \newcommand{\NA}{{\rm NA}} \newcommand{\mat}[1]{{\bf#1}} \newcommand{\exref}[1]{\ref{##1}} \newcommand{\secstoprocess}{\all} \newcommand{\NA}{{\rm NA}} \newcommand{\mathds}{\mathbb}</math></div> In Exercise Exercise the service time <math>S</math> has a geometric distribution with <math>E(S) = 1/r</math>. Assume that the service time is, instead, a constant time of <math>t</math> seconds. Modify your computer...") |
No edit summary |
||
Line 5: | Line 5: | ||
\newcommand{\secstoprocess}{\all} | \newcommand{\secstoprocess}{\all} | ||
\newcommand{\NA}{{\rm NA}} | \newcommand{\NA}{{\rm NA}} | ||
\newcommand{\mathds}{\mathbb}</math></div> In | \newcommand{\mathds}{\mathbb}</math></div> In [[exercise:D094f2f7d6 |Exercise]] the service time <math>S</math> has a geometric distribution with <math>E(S) = 1/r</math>. Assume that the service time is, instead, a constant time of <math>t</math> seconds. Modify your computer program of [[exercise:827f8681ec |Exercise]] so that it simulates a constant time service distribution. Compare the average queue length for the two types of distributions when they have the same expected service time (i.e., take <math>t = 1/r</math>). Which distribution leads to the longer queues on the average? | ||
a geometric distribution with <math>E(S) = 1/r</math>. Assume that the service time is, | |||
instead, a constant time of <math>t</math> seconds. Modify your computer program of | |||
distribution. Compare the average queue length for the two types of | |||
distributions | |||
when they have the same expected service time (i.e., take <math>t = 1/r</math>). Which | |||
distribution leads to the longer queues on the average? |
Latest revision as of 22:02, 17 June 2024
[math]
\newcommand{\NA}{{\rm NA}}
\newcommand{\mat}[1]{{\bf#1}}
\newcommand{\exref}[1]{\ref{##1}}
\newcommand{\secstoprocess}{\all}
\newcommand{\NA}{{\rm NA}}
\newcommand{\mathds}{\mathbb}[/math]
In Exercise the service time [math]S[/math] has a geometric distribution with [math]E(S) = 1/r[/math]. Assume that the service time is, instead, a constant time of [math]t[/math] seconds. Modify your computer program of Exercise so that it simulates a constant time service distribution. Compare the average queue length for the two types of distributions when they have the same expected service time (i.e., take [math]t = 1/r[/math]). Which distribution leads to the longer queues on the average?