- #1
Usagi
- 45
- 0
Question:
A single-pump petrol station is running low on petrol. The total volume of petrol remaining for sale is 100 litres.
Suppose cars arrive to the station according to a Poisson process with rate [TEX]\lambda[/TEX], and that each car fills independently of all other cars and of the arrival process, an amount of petrol that is distributed as a uniform random variable over [TEX](0, 50)[/TEX] - assume for example that all car tanks have a capacity of 50 litres and drivers decide "at random" when to refill. We assume that service is instantaneous so that there are no queues at the station.
(a) On average, how many cars will the petrol station fully service (sell the full amount requested) before it runs out of petrol (and before any refilling occurs)?
(b) How much time will it take on average before the station runs out of petrol (and before any refilling occurs)?
Attempt:
I'm not exactly sure where to start with this question part (a). Let [TEX]U[/TEX] be uniformly distributed over [TEX](0,50)[/TEX], then each time a car arrives at the petrol station, the total volume of petrol decreases by [TEX]U[/TEX]. So define [TEX]U_1[/TEX] to be the amount of petrol that the first arrival (an "arrival" here being when a car arrives at the petrol station and refills) and [TEX]U_2[/TEX] be that of the second arrival, and so on. Then each [TEX]U_i[/TEX] is identically and independently distributed as [TEX]U[/TEX]. So by the [TEX]N[/TEX]-th arrival, the station will have [TEX]100-\sum_{i=1}^N U_i[/TEX] litres of petrol remaining. We stop once [TEX]100-\sum_{i=1}^N U_i=0[/TEX] and we basically need to find [TEX]E[N][/TEX]?----------That's all I've got so far, if someone can provide a solution, that would be good.
A single-pump petrol station is running low on petrol. The total volume of petrol remaining for sale is 100 litres.
Suppose cars arrive to the station according to a Poisson process with rate [TEX]\lambda[/TEX], and that each car fills independently of all other cars and of the arrival process, an amount of petrol that is distributed as a uniform random variable over [TEX](0, 50)[/TEX] - assume for example that all car tanks have a capacity of 50 litres and drivers decide "at random" when to refill. We assume that service is instantaneous so that there are no queues at the station.
(a) On average, how many cars will the petrol station fully service (sell the full amount requested) before it runs out of petrol (and before any refilling occurs)?
(b) How much time will it take on average before the station runs out of petrol (and before any refilling occurs)?
Attempt:
I'm not exactly sure where to start with this question part (a). Let [TEX]U[/TEX] be uniformly distributed over [TEX](0,50)[/TEX], then each time a car arrives at the petrol station, the total volume of petrol decreases by [TEX]U[/TEX]. So define [TEX]U_1[/TEX] to be the amount of petrol that the first arrival (an "arrival" here being when a car arrives at the petrol station and refills) and [TEX]U_2[/TEX] be that of the second arrival, and so on. Then each [TEX]U_i[/TEX] is identically and independently distributed as [TEX]U[/TEX]. So by the [TEX]N[/TEX]-th arrival, the station will have [TEX]100-\sum_{i=1}^N U_i[/TEX] litres of petrol remaining. We stop once [TEX]100-\sum_{i=1}^N U_i=0[/TEX] and we basically need to find [TEX]E[N][/TEX]?----------That's all I've got so far, if someone can provide a solution, that would be good.