CS2800 - Probability and Statistics
[Link]. CSE 3rd Semester
Tutorial 5
Note: Use the numerical implementation of Trapezoital Rule in ’[Link]’ to calculate
the integral: Z b
I= xα−1 e−λx dx
a
1. If T denotes the time in seconds, between the arrival of successive vehicles at a zebra
crossing on a road is modelled by an exponential distribution with parameter λ = 0.025.
What is the probability that:
(a) No vehicle arrives whilst the pedestrian is crossing the road, given the person took
30 seconds to cross?
[Hint: P (T > 30) = 1 − P (T ≤ 30). Ans: 0.472]
(b) No vehicle arrrives whilst the pedestrian makes two independent crossings.
[Ans: 0.223]
(c) A person starts crossing the road immediately after a vehicle has passed. How long
should this person take to cross the road to ensure the probability of a vehicle arriving
before they have crossed is less than 0.2? [Ans: t = 8.93s]
2. Suppose that on an average 1 customer per minute arrive at a shop. What is the probability
that the shopkeeper will wait more than 5 minutes before both of the first two customers
arrive ? Assume that waiting time is a gamma distribution.
[Hint: Let X denote waiting time. Rate of arrival is 1, i.e., λ = 1 and number of occurance
is 2, since we are interested in second customer. Thus, α = 2. Ans: 0.04]
3. If the time spent on a computer is denoted by X and its density function is given by
f (x) = Γ(x; 5, 1/4):
(a) What is the probability that at least 24 minutes was spent on a computer? [Ans:
0.712]
(b) What is the probability that between 20 to 30 minutes was spent? [Ans: 0.308 ]
1
4. A store, which is open for 8 hours every day, gives a gift card to the (exactly) 10th
customer of every day. The store has observed that customers show up at a rate of 1 every
20 minutes. What is the probability the 10th customer of the day shows up in the second
half of the day?
[Hint: If X is the time interval between customer arrivals, then the 10th arrival is the
arrival time of 1st + arrival time of 2nd + ... till 10th . Or Occurrence is 10 and rate per
hour is 3. Ans:0.242 ]