Title: Among a dozen eggs, three are rotten. A cookie recipe calls for two eggs; they'll be selected ... Post by: Izzydhindsa on Aug 31, 2019 Among a dozen eggs, three are rotten. A cookie recipe calls for two eggs; they'll be selected randomly from that dozen. Which plan could be used to simulate the number of rotten eggs that might be chosen?
I. Let 0, 1, and 2 represent the rotten eggs, and 3, 4, …, 11 the good eggs. Generate two random numbers 0-11, ignoring repeats. II. Randomly generate a 0, 1, or 2 to represent the number of rotten eggs you get. III. Since 25% of the eggs are rotten, let 0 = rotten and 1, 2, 3 = good. Generate two random numbers 0-3 and see how may 0’s you get. ▸ III only ▸ I, II, or III ▸ I or III only ▸ I only ▸ II only Title: Among a dozen eggs, three are rotten. A cookie recipe calls for two eggs; they'll be selected ... Post by: rinderbik on Aug 31, 2019 Content hidden
Title: Among a dozen eggs, three are rotten. A cookie recipe calls for two eggs; they'll be selected ... Post by: Izzydhindsa on Aug 31, 2019 I appreciate what you did here, answered it correctly :D
|