Answers to Lab Session 2, Simulating Experiments Task 2: It estimates the probability P(X3) { counter <- counter + 1 } } return(counter/N) } The required probability is approximately 0.220.