/Data-Management

MDM4U Probability and Graphing

Primary LanguageC

Data Management

MDM4U Probability and Graphing

prob1.c :

Prompt

A bag contains 8 red, 9 yellow, 4 green, 2 pink and 3 violet marbles. Six marbles are drawn from the bag WITH replacement. Create a simulation to determine the probability of getting 2 red, 2 yellow OR 1 green. Create a computer simulation to determine this probability.