Constructing Simulations
Construct and execute a simulation that will provide an answer to the following:
A cereal company puts cards bearing flags in their boxes of cereal. There is one card per box. If there are six different flags, on the average, how many boxes of cereal will you have to buy before you collect all six flags ?
write your code in MatLab and consider the probabilities of the flags to be as follows:
Flag #1 – 1/3
Flag #2 – 1/4
Flag #3 – 1/5
Flag #4 – 1/6
Flag #5 – 1/30
Flag #6 – 1/60
Get a 10 % discount on an order above $ 100
Use the following coupon code :
Whizz15
Use the following coupon code :
Whizz15
Category: Sample Questions