Truck A arrives at a random time between 9am and 11am, and truck B arrives at a random time between 10am and 12pm (noon). what are the odds that truck A arrives before truck B??
I searched this question and followed the hint provided by 'drhab':
Let X be the arrival time of truck a and let Y be the arrival time of truck b. If X,Y are two random variables on the same probability space then:
Pr(X<Y)=∫Pr(X<Y∣Y=y)dFY(y)=∫Pr(X<y∣Y=y)dFY(y)
If moreover X and Y are independent then:
Pr(X<y∣Y=y)=Pr(X<y)
so that:
Pr(X<Y) = ∫Pr(X<y)dFY(y)
I got final result is 0.75, just want to confirm this outcome. Thanks!