Suppose you have two bags of marbles that are in a box. bag 1 contains 7 white marbles, 6 black marbles, and 3 gold marbles. bag 2 contains 4 white marbles, 5 black marbles, and 15 gold marbles. the probability of grabbing the bag 1 from the box is twice the probability of grabbing the bag 2.
create a simulation to estimate the probability of pulling a gold marble. assume you put the marble back in the bag each time you pull one out. make sure to run the simulation enough times to be confident in your final result.