1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Foundations of Probability in R

Connected

अभ्यास

Simulating the probability of A, B, and C

Randomly simulate 100,000 flips of A (40% chance), B (20% chance), and C (70% chance). What fraction of the time do all three coins come up heads?

निर्देश

100 XP
  • You've already simulated A and B. Now simulate 100,000 flips of coin C, where each has a 70% chance of coming up heads.
  • Use A, B, and C to estimate the probability that all three coins would come up heads.