@algo: We can get head in two cases:- 1.) coin is biases 2.) coin is not biased
P(head) for biased= 1/5 *1*1*1*1*1*1= 1/5 P(head) for unbiased= 4/5*(1/2)^6 hence combined probability is what nitish has already mentioned. Hope you get the point. On Sun, Aug 7, 2011 at 11:29 PM, Algo Lover <[email protected]> wrote: > Can anyone explain the approach how to solve this . > I think all tosses are independent so it should be 3/5. why is this in- > correct > > > On Aug 7, 10:55 pm, saurabh chhabra <[email protected]> wrote: > > sry...its wrong > > > > On Aug 7, 10:34 pm, Algo Lover <[email protected]> wrote: > > > > > > > > > > > > > > > > > A bag contains 5 coins. Four of them are fair and one has heads on > > > both sides. You randomly pulled one coin from the bag and tossed it 5 > > > times, heads turned up all five times. What is the probability that > > > you toss next time, heads turns up. (All this time you don't know you > > > were tossing a fair coin or not). > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- Regards Kunal Yadav (http://algoritmus.in/) -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
