
Dean S.
asked 08/11/15Gary drives to work everyday, and estimated the probability that he gets a red light at a particular intersection is 3/10. He based this on his last 10 trips.
I need to carry out a simulation on excel spreadsheet on my case to obtain the number of red lights he will encounter at this intersection on his next 100 trips. Can anyone help please.
Thanks
More
1 Expert Answer

JOHN F. answered 10/24/16
Tutor
4
(4)
Getting you that job or raise by augmenting your skillset
I put this formula in A1 and extended it down to A100:
=CHOOSE(RANDBETWEEN(1,10),"R","R","R","G or Y","G or Y","G or Y","G or Y","G or Y","G or Y","G or Y")
There are 3 "R"s and 7 "G or Y"s, giving a 30% possibility of choosing an R, or Red light (as opposed to Green or Yellow". Then, I count the Rs using -
=COUNTIF(A1:A100,"R")
Press the F9 key repeatedly (to recalculate the sheet, and thus regenerate the random values). Watch the count of Rs and it should hover close to 30.
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.
Chris S.
08/12/15