Game 2 is better if p > 0.5. P(win game 1) = p P(win game 2) = p^3 + 3(p^2 * (1-p))
To find the solution, solve for p when p^3 + 3(p^2 * (1-p)) > p Which simplifies to 3p - 2p^2 > 1 Which is true when p > 0.5 On Mar 1, 5:15 pm, bittu <shashank7andr...@gmail.com> wrote: > You have a basketball hoop and someone says that you can play 1 of 2 > games. > Game #1: You get one shot to make the hoop. > Game #2: You get three shots and you have to make 2 of 3 shots. > If p is the probability of making a particular shot, for which values > of p should you pick one game or the other? > > Thanks & Regards > Shashank -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.