Professional Documents
Culture Documents
i=1
c(T T
i
)
X(T) = n
_
We can use the same trick as Question 2 (replacing T
i
with U
i
U[0, T]) to
get that
E
_
n
i=1
c(T T
i
)
X(T) = n
_
= E
_
n
i=1
c(T U
i
)
_
=
ncT
2
.
Now, conditioning on the number of requests waiting at time T, the expected
total waiting cost is
n0
E
_
n
i=1
c(T T
i
)
X(T) = n
_
P(X(T) = n) =
cT
2
n0
ne
T
(T)
n
n!
=
cT
2
2
(where the last identity comes from the fact that the expectation of a Po(T)
random variable is T).
So the expectation of the total waiting cost per minute is
cT
2
. The total
expected cost per minute (processing and waiting) is
k
T
+
cT
2
as required.
Sketching the graph of this function against T we see that it has a single
minimum. Dierentiating we get that the minimum is the solution to
c
2
k
T
2
= 0
So we should take T =
_
2k
c
.
3