1) Customers at a coffee shop ask for hot, say Xn 0, or cold, say X 1, beverages according to a Bernoulli process with parameter p. Let N denote the first time that a customer wants the same kind...
1) Customers at a coffee shop ask for hot, say Xn 0, or cold, say X 1, beverages according to a Bernoulli process with parameter p. Let N denote the first time that a customer wants the same kind as their predecessor. (a) Find the pmf of N. (b) What is the probability that XN+ 1? (c) If cold drinks take 30 seconds to prepare and hot drinks take 60 seconds. What is the expected time taken to serve the first one hundred customers? (d) The shop only has enough ice for m cold beverages. What is the expected total number of customers served when the supply is exhausted? (e) What is the probability that no hot drinks have been requested at (or before) the moment the ice is exhausted?
1) Customers at a coffee shop ask for hot, say Xn 0, or cold, say X 1, beverages according to a Bernoulli process with parameter p. Let N denote the first time that a customer wants the same kind as their predecessor. (a) Find the pmf of N. (b) What is the probability that XN+ 1? (c) If cold drinks take 30 seconds to prepare and hot drinks take 60 seconds. What is the expected time taken to serve the first one hundred customers? (d) The shop only has enough ice for m cold beverages. What is the expected total number of customers served when the supply is exhausted? (e) What is the probability that no hot drinks have been requested at (or before) the moment the ice is exhausted?