Statistics and R problem Please answer these questions with step and code (if yo
ID: 3124482 • Letter: S
Question
Statistics and R problem
Please answer these questions with step and code (if you can ) as much as possible, thanks!
Taiwan uses Xiaoluren to signal pedestrians to cross intersections. At
the intersection of Song-shou road and Shi-fu road, the Xiaoluren has a
three-minute cycle; it is a busy street. When pedestrians are allowed to
cross the intersection, the Xiaoluren shows the little green man walking.
Otherwise, it shows a little red man standing still. Pedestrians are given
80 seconds to cross (thus, the little green man is seen for 80 seconds at
a time).
If I randomly appear at this intersection, what is the probability that I
will have to wait to see the little green man? What is the probability
that I will have to wait at least 40 seconds to see the little green man?
Explanation / Answer
Total time of the cycle is 180 s
Pedistrains are give 80 s
time for red man=100 s
a)probaility for waiting to see the green man =100/180 =0.56
b)to wait for at least 40 s to see the green man.it should not be more than 60 s after the appearence of red man .
So probality to wait for 40 s to see green amn is 60/180 =0.333