28.11.2014 Views

SOLUTIONS MANUAL for Stochastic Modeling: Analysis and ...

SOLUTIONS MANUAL for Stochastic Modeling: Analysis and ...

SOLUTIONS MANUAL for Stochastic Modeling: Analysis and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

79<br />

endif<br />

C 2 ← T n+1 + FH<br />

−1 (r<strong>and</strong>om())<br />

e 3 () (end regular call)<br />

S n+1 ← 1<br />

e 4 () (end chair call)<br />

if {S n =3} then<br />

S n+1 ← 1<br />

else<br />

S n+1 ← 2<br />

endif<br />

5. (a) M = {0, 1, 2, 3} represents the number of vans in use at time t days.<br />

Approximate the time between requests <strong>and</strong> the time in use as exponentially<br />

distributed. There<strong>for</strong>e, we have a Markov-process model with<br />

(b)<br />

⎛<br />

G = ⎜<br />

⎝<br />

π = ⎜<br />

⎝<br />

− 8 8<br />

7<br />

1<br />

− 23<br />

2 14<br />

7<br />

0 0<br />

8<br />

0<br />

7<br />

8<br />

7 7<br />

0 1 − 15<br />

3<br />

0 0 − 3 2 2<br />

⎛<br />

0.1267709745<br />

0.2897622274<br />

0.3311568313<br />

0.2523099667<br />

The rate at which requests are denied is 8/7 π 3 ≈ 0.29 requests/day.<br />

(c) 0π 0 +1π 1 +2π 2 +3π 3 ≈ 1.71 vans<br />

6. (7.1) <strong>for</strong> a <strong>and</strong> n integer<br />

⎞<br />

⎟<br />

⎠<br />

⎞<br />

⎟<br />

⎠<br />

Pr{X >n+ a | X>n} =<br />

=<br />

Pr{X >n+ a, X > n}<br />

Pr{X >n}<br />

Pr{X >n+ a}<br />

Pr{X >n}<br />

=<br />

(1 − γ)n+a<br />

(1 − γ) n<br />

= (1− γ) a =Pr{X >a}

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!