SOLUTIONS MANUAL for Stochastic Modeling: Analysis and ...
SOLUTIONS MANUAL for Stochastic Modeling: Analysis and ...
SOLUTIONS MANUAL for Stochastic Modeling: Analysis and ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
109<br />
= (1− ρ 1 )(1 − ρ 2 )<br />
∞∑<br />
i=0<br />
ρ i 1<br />
1<br />
1 − ρ 2<br />
1 1<br />
= (1− ρ 1 )(1 − ρ 2 )<br />
1 − ρ 1 1 − ρ 2<br />
= 1<br />
23. Let B be a Bernoulli r<strong>and</strong>om variable that takes the value 1 with probability r. The<br />
event {B =1} indicates that a product fails inspection.<br />
The only change occurs in system event e 3 .<br />
e 3 ()<br />
(complete inspection)<br />
S 2,n+1 ← S 2,n − 1<br />
(one fewer product at inspection)<br />
if {S 2,n+1 > 0} then<br />
(if another product then start)<br />
C 3 ← T n+1 + FZ −1 (r<strong>and</strong>om()) (set clock <strong>for</strong> completion)<br />
endif<br />
B ← FB<br />
−1 (r<strong>and</strong>om())<br />
if {B =1} then<br />
(product fails inspection)<br />
S 1,n+1 ← S 1,n + 1<br />
(one more product at repair)<br />
if {S 1,n+1 =1} then<br />
(if only one product then start)<br />
C 2 ← T n+1 + FX −1 (r<strong>and</strong>om()) (set clock <strong>for</strong> completion)<br />
endif<br />
endif<br />
24. The balance equations are<br />
rate in = rate out<br />
(1 − r)µ (2) π (0,1) = λπ (0,0)<br />
λπ (i−1,0) + rµ (2) π (i−1,1) +(1− r)µ (2) π (i,1) = (λ + µ (1) )π (i,0) ,i>0<br />
µ (1) π (1,j−1) +(1− r)µ (2) π (0,j+1) = (λ + µ (2) )π (0,j) ,j>0<br />
λπ (i−1,j) + µ (1) π (i+1,j−1) + rµ (2) π (i−1,j+1) +(1− r)µ (2) π (i,j+1) = δπ (i,j) ,i,j>0<br />
where δ = λ + µ (1) + µ (2) .<br />
The steady-state probabilities are