(New page: Each candy bar has a coupon 2 different coupons Any candy bar can have a random coupon Q: How many bars do you need to buy on average to get both coupons? 1 bar = 1 coupon X = # bars ...) |
|||
Line 1: | Line 1: | ||
+ | [[Category:ECE302Fall2008_ProfSanghavi]] | ||
+ | [[Category:probabilities]] | ||
+ | [[Category:ECE302]] | ||
+ | [[Category:problem solving]] | ||
+ | =Question= | ||
Each candy bar has a coupon | Each candy bar has a coupon | ||
Line 6: | Line 11: | ||
Q: How many bars do you need to buy on average to get both coupons? | Q: How many bars do you need to buy on average to get both coupons? | ||
− | + | =Answer= | |
1 bar = 1 coupon | 1 bar = 1 coupon | ||
Line 14: | Line 19: | ||
Avg. # of bars = 1 + 2 = 3 | Avg. # of bars = 1 + 2 = 3 | ||
+ | ---- | ||
+ | [[Main_Page_ECE302Fall2008sanghavi|Back to ECE302 Fall 2008 Prof. Sanghavi]] |
Latest revision as of 12:18, 22 November 2011
Question
Each candy bar has a coupon
2 different coupons
Any candy bar can have a random coupon
Q: How many bars do you need to buy on average to get both coupons?
Answer
1 bar = 1 coupon
X = # bars for second coupon
~Geom(1/2)
Avg. # of bars = 1 + 2 = 3