[algogeeks] Re: Probability Puzzle

2011-08-16 Thread Jacob Ridley
I think there is some ambiguity in the question.

 (All this time you don't know you were tossing a fair coin or not).
1) Does the above statement mean that the thower don't know whether he
or she threw a fair coin even after throwing? Or is the thrower not
informed beforehand that one of them is not a fair coin?
2) Does the coin count reduce after every throw or should it be put
back?
3) Depending on 1) and 2), there will be different answers.


On Aug 9, 12:13 am, Maddy madhu.mitha...@gmail.com wrote:
 I think the answer is 17/80, because
 as you say the 5 trials are independent.. but
 the fact that a head turns up in all the 5 trials, give some
 information about our original probability of choosing the coins.

 in case we had obtained a tail in the first trial, we can be sure its
 the fair coin, and so the consecutive trials would become
 independent..

 but since that is not the case, every head is going to increase the
 chance of choosing the biased coin(initially), and hence affect the
 probability of the next head..

 before the first trial probability of landing a head is 3/5, but once
 u see the first head, the probability of landing a head on the second
 trial changes to 4/5*1/4+1/5, and so on..that is, there is a higher
 probability that we chose a biased coin, rather than the fair coin.

 hope its clear..

 On Aug 7, 11:36 pm, sumit gaur sumitgau...@gmail.com wrote:



  (3/5)

  On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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).- Hide quoted text -

 - Show quoted text -

-- 
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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-16 Thread pacific :-)
I'm little late but I too got 17/18.

On Tue, Aug 16, 2011 at 10:47 PM, Jacob Ridley jridley2...@gmail.comwrote:

 I think there is some ambiguity in the question.

  (All this time you don't know you were tossing a fair coin or not).
 1) Does the above statement mean that the thower don't know whether he
 or she threw a fair coin even after throwing? Or is the thrower not
 informed beforehand that one of them is not a fair coin?
 2) Does the coin count reduce after every throw or should it be put
 back?
 3) Depending on 1) and 2), there will be different answers.


 On Aug 9, 12:13 am, Maddy madhu.mitha...@gmail.com wrote:
  I think the answer is 17/80, because
  as you say the 5 trials are independent.. but
  the fact that a head turns up in all the 5 trials, give some
  information about our original probability of choosing the coins.
 
  in case we had obtained a tail in the first trial, we can be sure its
  the fair coin, and so the consecutive trials would become
  independent..
 
  but since that is not the case, every head is going to increase the
  chance of choosing the biased coin(initially), and hence affect the
  probability of the next head..
 
  before the first trial probability of landing a head is 3/5, but once
  u see the first head, the probability of landing a head on the second
  trial changes to 4/5*1/4+1/5, and so on..that is, there is a higher
  probability that we chose a biased coin, rather than the fair coin.
 
  hope its clear..
 
  On Aug 7, 11:36 pm, sumit gaur sumitgau...@gmail.com wrote:
 
 
 
   (3/5)
 
   On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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).- Hide quoted text -
 
  - Show quoted text -

 --
 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.




-- 
regards,
chinna.

-- 
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.



[algogeeks] Re: Probability Puzzle

2011-08-14 Thread Ankit Gupta
A=p(biased coin/5 heads)=8/9  probability that the coin is biased
given 5 heads (bayes theorem)

B=p(unbiased coin/5 heads)=1/9

P(6th head)=A*1+B*1/2=17/18

-- 
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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-09 Thread Arun Vishwanathan
@dave: yes it seems so that 17/18 is correct...I deduced it from the cond
prob formula..

I have a minor doubt in general why  prob( 2nd toss is a head given that
a head occurred in the first toss ) doesnt seem same as p( head in first
toss and head in second toss with fair coin) +p(head in first toss and head
in second toss with unfair coin)? is it due to the fact that we are not
looking at the same sample space in both cases?i am not able to visualise
the difference in general..this is also the reason why most of the people
said earlier 17/80 as the answer

moreover, if the question was exactly the same except in that it was NOT
mentioned that heads occurred previously , what would the prob of getting a
head in the second toss?

would it be P( of getting tail in first toss and head in second toss given
that fair coin is chosen) +P( of getting head in first toss and head in
second toss given that fair coin is chosen) +P( getting heads in first toss
and heads in second toss given that unfair coin is chosen) ? this for any
toss turns out to be 3/5 can u explain the logic abt why it always gives
3/5?

On Tue, Aug 9, 2011 at 7:37 AM, raj kumar megamonste...@gmail.com wrote:

 plz reply am i right or wrong

 --
 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.




-- 
 People often say that motivation doesn't last. Well, neither does bathing
- that's why we recommend it daily.

-- 
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.



[algogeeks] Re: Probability Puzzle

2011-08-09 Thread arpit.gupta
it is (1/5)/( (4/5 *(1/2)^6) + (1/5 * 1)) = 80/85 = 16/17

On Aug 7, 10:54 pm, Nitish Garg nitishgarg1...@gmail.com wrote:
 Should be (4/5 *(1/2)^6) + (1/5 * 1) = 17/80

-- 
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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-09 Thread shady
go through the posts before posting anything :)

On Tue, Aug 9, 2011 at 6:29 PM, arpit.gupta arpitg1...@gmail.com wrote:

 it is (1/5)/( (4/5 *(1/2)^6) + (1/5 * 1)) = 80/85 = 16/17

 On Aug 7, 10:54 pm, Nitish Garg nitishgarg1...@gmail.com wrote:
  Should be (4/5 *(1/2)^6) + (1/5 * 1) = 17/80

 --
 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.



-- 
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.



[algogeeks] Re: Probability Puzzle

2011-08-09 Thread arpit.gupta
ans is 16/17 + 1/2*1/17 = 33/34

On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.



[algogeeks] Re: Probability Puzzle

2011-08-09 Thread Dave
@Arpit: No. The probability of getting 6 consecutive heads is
1/5 * 1 + 4/5 * (1/2)^6 ) = 17/80,
while the probability of getting 5 consecutive heads is
1/5 * 1 + 4/5 * (1/2)^6 ) = 9/40.
Thus, the probability of getting a head on the sixth roll given that
you have gotten heads on all five previous rolls is (17/80) / (9/40),
which is 17/18.

Dave

On Aug 9, 7:59 am, arpit.gupta arpitg1...@gmail.com wrote:
 it is (1/5)/( (4/5 *(1/2)^6) + (1/5 * 1)) = 80/85 = 16/17

 On Aug 7, 10:54 pm, Nitish Garg nitishgarg1...@gmail.com wrote:



  Should be (4/5 *(1/2)^6) + (1/5 * 1) = 17/80

-- 
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.



[algogeeks] Re: Probability Puzzle

2011-08-09 Thread Dave
@Arun: The probability of getting a head on the first toss is
1/5 * 1 + 4/5 * (1/2) ) = 3/5,
while the probability of getting 2 consecutive heads is
1/5 * 1 + 4/5 * (1/2)^2 ) = 2/5.
Thus, the probability of getting a head on the second roll given that
you have gotten a head on the first roll is (2/5) / (3/5), which is
2/3.

If you didn't know the outcome of the first roll, the probability of
heads on the second roll would still be 3/5.

Dave

On Aug 9, 2:57 am, Arun Vishwanathan aaron.nar...@gmail.com wrote:
 @dave: yes it seems so that 17/18 is correct...I deduced it from the cond
 prob formula..

 I have a minor doubt in general why  prob( 2nd toss is a head given that
 a head occurred in the first toss ) doesnt seem same as p( head in first
 toss and head in second toss with fair coin) +p(head in first toss and head
 in second toss with unfair coin)? is it due to the fact that we are not
 looking at the same sample space in both cases?i am not able to visualise
 the difference in general..this is also the reason why most of the people
 said earlier 17/80 as the answer

 moreover, if the question was exactly the same except in that it was NOT
 mentioned that heads occurred previously , what would the prob of getting a
 head in the second toss?

 would it be P( of getting tail in first toss and head in second toss given
 that fair coin is chosen) +P( of getting head in first toss and head in
 second toss given that fair coin is chosen) +P( getting heads in first toss
 and heads in second toss given that unfair coin is chosen) ? this for any
 toss turns out to be 3/5 can u explain the logic abt why it always gives
 3/5?

 On Tue, Aug 9, 2011 at 7:37 AM, raj kumar megamonste...@gmail.com wrote:
  plz reply am i right or wrong

  --
  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.

 --
  People often say that motivation doesn't last. Well, neither does bathing
 - that's why we recommend it daily.

-- 
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.



[algogeeks] Re: Probability Puzzle

2011-08-09 Thread arpit.gupta
@dave- calculation mistake on my part - method is right.

getting 17/18 only thanks anyways.

On Aug 9, 6:26 pm, Dave dave_and_da...@juno.com wrote:
 @Arun: The probability of getting a head on the first toss is
 1/5 * 1 + 4/5 * (1/2) ) = 3/5,
 while the probability of getting 2 consecutive heads is
 1/5 * 1 + 4/5 * (1/2)^2 ) = 2/5.
 Thus, the probability of getting a head on the second roll given that
 you have gotten a head on the first roll is (2/5) / (3/5), which is
 2/3.

 If you didn't know the outcome of the first roll, the probability of
 heads on the second roll would still be 3/5.

 Dave

 On Aug 9, 2:57 am, Arun Vishwanathan aaron.nar...@gmail.com wrote:







  @dave: yes it seems so that 17/18 is correct...I deduced it from the cond
  prob formula..

  I have a minor doubt in general why  prob( 2nd toss is a head given that
  a head occurred in the first toss ) doesnt seem same as p( head in first
  toss and head in second toss with fair coin) +p(head in first toss and head
  in second toss with unfair coin)? is it due to the fact that we are not
  looking at the same sample space in both cases?i am not able to visualise
  the difference in general..this is also the reason why most of the people
  said earlier 17/80 as the answer

  moreover, if the question was exactly the same except in that it was NOT
  mentioned that heads occurred previously , what would the prob of getting a
  head in the second toss?

  would it be P( of getting tail in first toss and head in second toss given
  that fair coin is chosen) +P( of getting head in first toss and head in
  second toss given that fair coin is chosen) +P( getting heads in first toss
  and heads in second toss given that unfair coin is chosen) ? this for any
  toss turns out to be 3/5 can u explain the logic abt why it always gives
  3/5?

  On Tue, Aug 9, 2011 at 7:37 AM, raj kumar megamonste...@gmail.com wrote:
   plz reply am i right or wrong

   --
   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.

  --
   People often say that motivation doesn't last. Well, neither does bathing
  - that's why we recommend it daily.

-- 
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.



[algogeeks] Re: Probability Puzzle

2011-08-09 Thread Dave
The probability of getting n consecutive heads is
P(n heads) = 1/5 * 1 + 4/5 * (1/2)^n,
Thus, the probability of getting a head on the n+1st roll given that
you have gotten heads on all n previous rolls is
P(n+1 heads | n heads) = P(n+1) / P(n)
= ( 1/5 * 1 + 4/5 * (1/2)^(n+1) ) / ( 1/5 * 1 + 4/5 * (1/2)^n ).
Multiplying numerator and denominator by 5* 2^(n-1) and recognizing 4
as 2^2 gives
P(n+1 heads | n heads) = (2^(n-1) + 1) / (2^(n-1) + 2).

Dave

On Aug 9, 12:30 am, programming love love.for.programm...@gmail.com
wrote:
 @Dave: I guess 17/18 is correct. Since we have to *calculate the probability
 of getting a head in the 6th flip given that first 5 flips are a head*. Can
 you please explain how you got the values of consequent flips when you said
 this?

 *In fact, the probability is 3/5 for the first flip. After a head is
 flipped, the probability of a head is 2/3. After two heads have been
 flipped, it is 3/4. After 3 heads, it is 5/6. After 4 heads, the
  probability is 9/10, and after 5 heads, the probability is 17/18.*

-- 
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.



[algogeeks] Re: Probability Puzzle

2011-08-09 Thread arpit.gupta
@dave - method is right, calculation mistake on my part, getting 17/18
only. thanks anyways.

On Aug 9, 6:26 pm, Dave dave_and_da...@juno.com wrote:
 @Arun: The probability of getting a head on the first toss is
 1/5 * 1 + 4/5 * (1/2) ) = 3/5,
 while the probability of getting 2 consecutive heads is
 1/5 * 1 + 4/5 * (1/2)^2 ) = 2/5.
 Thus, the probability of getting a head on the second roll given that
 you have gotten a head on the first roll is (2/5) / (3/5), which is
 2/3.

 If you didn't know the outcome of the first roll, the probability of
 heads on the second roll would still be 3/5.

 Dave

 On Aug 9, 2:57 am, Arun Vishwanathan aaron.nar...@gmail.com wrote:







  @dave: yes it seems so that 17/18 is correct...I deduced it from the cond
  prob formula..

  I have a minor doubt in general why  prob( 2nd toss is a head given that
  a head occurred in the first toss ) doesnt seem same as p( head in first
  toss and head in second toss with fair coin) +p(head in first toss and head
  in second toss with unfair coin)? is it due to the fact that we are not
  looking at the same sample space in both cases?i am not able to visualise
  the difference in general..this is also the reason why most of the people
  said earlier 17/80 as the answer

  moreover, if the question was exactly the same except in that it was NOT
  mentioned that heads occurred previously , what would the prob of getting a
  head in the second toss?

  would it be P( of getting tail in first toss and head in second toss given
  that fair coin is chosen) +P( of getting head in first toss and head in
  second toss given that fair coin is chosen) +P( getting heads in first toss
  and heads in second toss given that unfair coin is chosen) ? this for any
  toss turns out to be 3/5 can u explain the logic abt why it always gives
  3/5?

  On Tue, Aug 9, 2011 at 7:37 AM, raj kumar megamonste...@gmail.com wrote:
   plz reply am i right or wrong

   --
   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.

  --
   People often say that motivation doesn't last. Well, neither does bathing
  - that's why we recommend it daily.

-- 
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.



[algogeeks] Re: Probability Puzzle

2011-08-09 Thread ritu
The statement You randomly pulled one coin from the bag and tossed
tells that all the  events of tossing the coin are independent hence
ans is 3/5

On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-09 Thread programming love
@Dave: Thanks for the explanation :)

-- 
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.



[algogeeks] Re: Probability Puzzle

2011-08-09 Thread Dave
@Ritu: We are flipping one coin five times. Are you saying that you
don't learn anything about the coin by flipping it? Would you learn
something if any one of the five flips turned up tails? After a tails,
would you say that the probability of a subsequent head is still 3/5?

Dave

On Aug 9, 11:19 am, ritu ritugarg.c...@gmail.com wrote:
 The statement You randomly pulled one coin from the bag and tossed
 tells that all the  events of tossing the coin are independent hence
 ans is 3/5

 On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-09 Thread Prakash D
@dave: thank you.. nice explanation :)

On Wed, Aug 10, 2011 at 3:24 AM, Dave dave_and_da...@juno.com wrote:

 @Ritu: We are flipping one coin five times. Are you saying that you
 don't learn anything about the coin by flipping it? Would you learn
 something if any one of the five flips turned up tails? After a tails,
 would you say that the probability of a subsequent head is still 3/5?

 Dave

 On Aug 9, 11:19 am, ritu ritugarg.c...@gmail.com wrote:
  The statement You randomly pulled one coin from the bag and tossed
  tells that all the  events of tossing the coin are independent hence
  ans is 3/5
 
  On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.



-- 
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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-09 Thread Shachindra A C
@dave : nice explanationsthank you for pointing out :)

On Wed, Aug 10, 2011 at 3:39 AM, Prakash D cegprak...@gmail.com wrote:

 @dave: thank you.. nice explanation :)


 On Wed, Aug 10, 2011 at 3:24 AM, Dave dave_and_da...@juno.com wrote:

 @Ritu: We are flipping one coin five times. Are you saying that you
 don't learn anything about the coin by flipping it? Would you learn
 something if any one of the five flips turned up tails? After a tails,
 would you say that the probability of a subsequent head is still 3/5?

 Dave

 On Aug 9, 11:19 am, ritu ritugarg.c...@gmail.com wrote:
  The statement You randomly pulled one coin from the bag and tossed
  tells that all the  events of tossing the coin are independent hence
  ans is 3/5
 
  On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.


  --
 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.




-- 
Regards,
Shachindra A C

-- 
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.



[algogeeks] Re: Probability Puzzle

2011-08-08 Thread sumit gaur
(3/5)

On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-08 Thread Shachindra A C
@brijesh

*first five times* is mentioned intentionally to mislead i think. I vote for
3/5. Moreover, 17/80 doesn't make sense also. Plz correct me if I am wrong.


On Mon, Aug 8, 2011 at 12:06 PM, sumit gaur sumitgau...@gmail.com wrote:

 (3/5)

 On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.




-- 
Regards,
Shachindra A C

-- 
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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-08 Thread Puneet Goyal
I think 17/80 is wrong
because if you say that while calculating the answer 3/5, you havent
included the first 5 cases, then even after including it will only increase
the probability of getting the biased coin in hand and thus increasing the
overall probability of getting the heads and 17/80 is a way lesser than 3/5
although i am not sure about 3/5 even coz of the reasoning i just gave

also, when you are calculating 4/5*1/2^6 you are not getting any benefit out
of the first five tosses, like, they must have gave you some positive
response towards that yes, you will get the head even next time, but doing
this you are actually decreasing the probability as compared to the one you
could have get without those 5 cases

On Mon, Aug 8, 2011 at 1:06 PM, Shachindra A C sachindr...@gmail.comwrote:

 @brijesh

 *first five times* is mentioned intentionally to mislead i think. I vote
 for 3/5. Moreover, 17/80 doesn't make sense also. Plz correct me if I am
 wrong.


 On Mon, Aug 8, 2011 at 12:06 PM, sumit gaur sumitgau...@gmail.com wrote:

 (3/5)

 On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.




 --
 Regards,
 Shachindra A C

  --
 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.




-- 
---
Puneet Goyal
Student of B. Tech. III Year (Software Engineering)
Delhi Technological University, Delhi
---

-- 
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.



[algogeeks] Re: Probability Puzzle

2011-08-08 Thread Maddy
I think the answer is 17/80, because
as you say the 5 trials are independent.. but
the fact that a head turns up in all the 5 trials, give some
information about our original probability of choosing the coins.

in case we had obtained a tail in the first trial, we can be sure its
the fair coin, and so the consecutive trials would become
independent..

but since that is not the case, every head is going to increase the
chance of choosing the biased coin(initially), and hence affect the
probability of the next head..

before the first trial probability of landing a head is 3/5, but once
u see the first head, the probability of landing a head on the second
trial changes to 4/5*1/4+1/5, and so on..that is, there is a higher
probability that we chose a biased coin, rather than the fair coin.

hope its clear..

On Aug 7, 11:36 pm, sumit gaur sumitgau...@gmail.com wrote:
 (3/5)

 On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.



[algogeeks] Re: Probability Puzzle

2011-08-08 Thread Don
The answer is 17 in 18, because flipping 5 heads in a row is evidence
that the probability is high that we have the coin with two heads.
Don

On Aug 7, 12:34 pm, Algo Lover algolear...@gmail.com 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 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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-08 Thread Arun Vishwanathan
@don: i too get yr answer 17/18 using conditional probability...does that
make sense??i guess this is first new answer lol

On Mon, Aug 8, 2011 at 9:29 PM, Don dondod...@gmail.com wrote:

 The answer is 17 in 18, because flipping 5 heads in a row is evidence
 that the probability is high that we have the coin with two heads.
 Don

 On Aug 7, 12:34 pm, Algo Lover algolear...@gmail.com 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 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.




-- 
 People often say that motivation doesn't last. Well, neither does bathing
- that's why we recommend it daily.

-- 
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.



[algogeeks] Re: Probability Puzzle

2011-08-08 Thread Don
Consider the 5 * 64 possible outcomes for the selection of coin and
six flips, each one happening with equal probability. Of those 320
possible outcomes, 4*62 are excluded by knowing that the first 5 flips
are heads. That leaves 64 outcomes with the rigged coin and 2 outcomes
with each of the fair coins, for a total of 72 outcomes. 68 of those
are heads, so the answer to the puzzle is 68 of 72, or 17 of 18.
Don

On Aug 8, 2:36 am, Shachindra A C sachindr...@gmail.com wrote:
 @brijesh

 *first five times* is mentioned intentionally to mislead i think. I vote for
 3/5. Moreover, 17/80 doesn't make sense also. Plz correct me if I am wrong.



 On Mon, Aug 8, 2011 at 12:06 PM, sumit gaur sumitgau...@gmail.com wrote:
  (3/5)

  On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.

 --
 Regards,
 Shachindra A C

-- 
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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-08 Thread shady
answer is 3/5. 17/80 is the answer for 6 consecutive heads.

On Tue, Aug 9, 2011 at 2:07 AM, Don dondod...@gmail.com wrote:

 Consider the 5 * 64 possible outcomes for the selection of coin and
 six flips, each one happening with equal probability. Of those 320
 possible outcomes, 4*62 are excluded by knowing that the first 5 flips
 are heads. That leaves 64 outcomes with the rigged coin and 2 outcomes
 with each of the fair coins, for a total of 72 outcomes. 68 of those
 are heads, so the answer to the puzzle is 68 of 72, or 17 of 18.
 Don

 On Aug 8, 2:36 am, Shachindra A C sachindr...@gmail.com wrote:
  @brijesh
 
  *first five times* is mentioned intentionally to mislead i think. I vote
 for
  3/5. Moreover, 17/80 doesn't make sense also. Plz correct me if I am
 wrong.
 
 
 
  On Mon, Aug 8, 2011 at 12:06 PM, sumit gaur sumitgau...@gmail.com
 wrote:
   (3/5)
 
   On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.
 
  --
  Regards,
  Shachindra A C

 --
 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.



-- 
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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-08 Thread Arun Vishwanathan
@shady: 3/5 can be the answer to such a question: what is prob of getting
head on nth toss if we have 4 coins fair and one biased...then at nth toss u
choose 4/5 1/5 prob and then u get 3/5

@shady , don: i did this: P( 6th head | 5 heads occured)= P( 6 heads )/ P( 5
heads)

answr u get is 17/18..i cud be wrong please correct if so

On Mon, Aug 8, 2011 at 10:45 PM, shady sinv...@gmail.com wrote:

 answer is 3/5. 17/80 is the answer for 6 consecutive heads.


 On Tue, Aug 9, 2011 at 2:07 AM, Don dondod...@gmail.com wrote:

 Consider the 5 * 64 possible outcomes for the selection of coin and
 six flips, each one happening with equal probability. Of those 320
 possible outcomes, 4*62 are excluded by knowing that the first 5 flips
 are heads. That leaves 64 outcomes with the rigged coin and 2 outcomes
 with each of the fair coins, for a total of 72 outcomes. 68 of those
 are heads, so the answer to the puzzle is 68 of 72, or 17 of 18.
 Don

 On Aug 8, 2:36 am, Shachindra A C sachindr...@gmail.com wrote:
  @brijesh
 
  *first five times* is mentioned intentionally to mislead i think. I vote
 for
  3/5. Moreover, 17/80 doesn't make sense also. Plz correct me if I am
 wrong.
 
 
 
  On Mon, Aug 8, 2011 at 12:06 PM, sumit gaur sumitgau...@gmail.com
 wrote:
   (3/5)
 
   On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.
 
  --
  Regards,
  Shachindra A C

 --
 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.


  --
 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.




-- 
 People often say that motivation doesn't last. Well, neither does bathing
- that's why we recommend it daily.

-- 
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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-08 Thread Shuaib Khan
Man, I feel so stupid. Yes, it is a case of conditional probability. We have
to calculate the probability of six heads, given that 5 heads have
occured. So answer is 17/18.

On Tue, Aug 9, 2011 at 1:47 AM, Arun Vishwanathan aaron.nar...@gmail.comwrote:

 @shady: 3/5 can be the answer to such a question: what is prob of getting
 head on nth toss if we have 4 coins fair and one biased...then at nth toss u
 choose 4/5 1/5 prob and then u get 3/5

 @shady , don: i did this: P( 6th head | 5 heads occured)= P( 6 heads )/ P(
 5 heads)

 answr u get is 17/18..i cud be wrong please correct if so


 On Mon, Aug 8, 2011 at 10:45 PM, shady sinv...@gmail.com wrote:

 answer is 3/5. 17/80 is the answer for 6 consecutive heads.


 On Tue, Aug 9, 2011 at 2:07 AM, Don dondod...@gmail.com wrote:

 Consider the 5 * 64 possible outcomes for the selection of coin and
 six flips, each one happening with equal probability. Of those 320
 possible outcomes, 4*62 are excluded by knowing that the first 5 flips
 are heads. That leaves 64 outcomes with the rigged coin and 2 outcomes
 with each of the fair coins, for a total of 72 outcomes. 68 of those
 are heads, so the answer to the puzzle is 68 of 72, or 17 of 18.
 Don

 On Aug 8, 2:36 am, Shachindra A C sachindr...@gmail.com wrote:
  @brijesh
 
  *first five times* is mentioned intentionally to mislead i think. I
 vote for
  3/5. Moreover, 17/80 doesn't make sense also. Plz correct me if I am
 wrong.
 
 
 
  On Mon, Aug 8, 2011 at 12:06 PM, sumit gaur sumitgau...@gmail.com
 wrote:
   (3/5)
 
   On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.
 
  --
  Regards,
  Shachindra A C

 --
 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.


  --
 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.




 --
  People often say that motivation doesn't last. Well, neither does
 bathing - that's why we recommend it daily.

  --
 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.




-- 
Shuaib
http://www.bytehood.com
http://twitter.com/ShuaibKhan

-- 
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.



[algogeeks] Re: Probability Puzzle

2011-08-08 Thread vinay aggarwal
answer should be 3/5
think like that tossing 5 times will not help you predict the outcome
of sixth toss. Therefore that information is meaningless.

-- 
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.



[algogeeks] Re: Probability Puzzle

2011-08-08 Thread Dave
@Vinay: What if you tossed 100 consecutive heads? Would that be enough
to convince you that you had the double-headed coin? If so, then
doesn't tossing 5 consecutive heads give you at least an inkling that
you might have it? Wouldn't you then think that there would be a
higher probability of getting a head on the sixth toss than there was
on the first toss (3/5)? Don's conditional probability answer 17/18 is
the right answer.

Dave

On Aug 8, 5:04 pm, vinay aggarwal vinayiiit2...@gmail.com wrote:
 answer should be 3/5
 think like that tossing 5 times will not help you predict the outcome
 of sixth toss. Therefore that information is meaningless.

-- 
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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-08 Thread Dipankar Patro
3/5.

As the question doesn't ask anything about the sequence.
Had the question been  Find the probability that all 6 are H  then it
would have been 17/80.

On 9 August 2011 04:07, Dave dave_and_da...@juno.com wrote:

 @Vinay: What if you tossed 100 consecutive heads? Would that be enough
 to convince you that you had the double-headed coin? If so, then
 doesn't tossing 5 consecutive heads give you at least an inkling that
 you might have it? Wouldn't you then think that there would be a
 higher probability of getting a head on the sixth toss than there was
 on the first toss (3/5)? Don's conditional probability answer 17/18 is
 the right answer.

 Dave

 On Aug 8, 5:04 pm, vinay aggarwal vinayiiit2...@gmail.com wrote:
  answer should be 3/5
  think like that tossing 5 times will not help you predict the outcome
  of sixth toss. Therefore that information is meaningless.

 --
 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.




-- 
___

Please do not print this e-mail until urgent requirement. Go Green!!
Save Papers = Save Trees

-- 
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.



[algogeeks] Re: Probability Puzzle

2011-08-08 Thread Dave
@Dipankar: You are correct about the answer to your alternative
question being 17/80, but your answer 3/5 says that you don't think
you have learned anything by the five heads flips. Don has given a
good explanation as to why the answer is 17/18, but you apparently
refuse to accept it. There is none so blind as one who will not see.

Dave

On Aug 8, 9:26 pm, Dipankar Patro dip10c...@gmail.com wrote:
 3/5.

 As the question doesn't ask anything about the sequence.
 Had the question been  Find the probability that all 6 are H  then it
 would have been 17/80.

 On 9 August 2011 04:07, Dave dave_and_da...@juno.com wrote:





  @Vinay: What if you tossed 100 consecutive heads? Would that be enough
  to convince you that you had the double-headed coin? If so, then
  doesn't tossing 5 consecutive heads give you at least an inkling that
  you might have it? Wouldn't you then think that there would be a
  higher probability of getting a head on the sixth toss than there was
  on the first toss (3/5)? Don's conditional probability answer 17/18 is
  the right answer.

  Dave

  On Aug 8, 5:04 pm, vinay aggarwal vinayiiit2...@gmail.com wrote:
   answer should be 3/5
   think like that tossing 5 times will not help you predict the outcome
   of sixth toss. Therefore that information is meaningless.

  --
  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.

 --
 ___­

 Please do not print this e-mail until urgent requirement. Go Green!!
 Save Papers = Save Trees

-- 
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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-08 Thread coder dumca
it's 3/5

On Tue, Aug 9, 2011 at 8:29 AM, Dave dave_and_da...@juno.com wrote:

 @Dipankar: You are correct about the answer to your alternative
 question being 17/80, but your answer 3/5 says that you don't think
 you have learned anything by the five heads flips. Don has given a
 good explanation as to why the answer is 17/18, but you apparently
 refuse to accept it. There is none so blind as one who will not see.

 Dave

 On Aug 8, 9:26 pm, Dipankar Patro dip10c...@gmail.com wrote:
  3/5.
 
  As the question doesn't ask anything about the sequence.
  Had the question been  Find the probability that all 6 are H  then it
  would have been 17/80.
 
  On 9 August 2011 04:07, Dave dave_and_da...@juno.com wrote:
 
 
 
 
 
   @Vinay: What if you tossed 100 consecutive heads? Would that be enough
   to convince you that you had the double-headed coin? If so, then
   doesn't tossing 5 consecutive heads give you at least an inkling that
   you might have it? Wouldn't you then think that there would be a
   higher probability of getting a head on the sixth toss than there was
   on the first toss (3/5)? Don's conditional probability answer 17/18 is
   the right answer.
 
   Dave
 
   On Aug 8, 5:04 pm, vinay aggarwal vinayiiit2...@gmail.com wrote:
answer should be 3/5
think like that tossing 5 times will not help you predict the outcome
of sixth toss. Therefore that information is meaningless.
 
   --
   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.
 
  --
 
 ___­
 
  Please do not print this e-mail until urgent requirement. Go Green!!
  Save Papers = Save Trees

 --
 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.



-- 
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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-08 Thread raj kumar
@all those who gave Should be (4/5 *(1/2)^6) + (1/5 * 1) = 17/80


when it's already given that 5 heads have turned up already then why abut
are you adding that probability
you all are considering it as finding the probability of finding 6
consecutive heads.

since all tosses are independent the answer should be 3/5.
 the point that 5 heads have turned up already may points that the coin
selected is biased in that case pr(6)=1;
now the answer depends on the interviewer  according to me it should be 3/5


thanks

-- 
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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-08 Thread sagar pareek
Pls check the ques 8th
This may remove misunderstanding...

http://www.folj.com/puzzles/difficult-logic-problems.htm

On Tue, Aug 9, 2011 at 10:21 AM, raj kumar megamonste...@gmail.com wrote:

 @all those who gave Should be (4/5 *(1/2)^6) + (1/5 * 1) = 17/80


 when it's already given that 5 heads have turned up already then why abut
 are you adding that probability
 you all are considering it as finding the probability of finding 6
 consecutive heads.

 since all tosses are independent the answer should be 3/5.
  the point that 5 heads have turned up already may points that the coin
 selected is biased in that case pr(6)=1;
 now the answer depends on the interviewer  according to me it should be 3/5


 thanks


  --
 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.




-- 
**Regards
SAGAR PAREEK
COMPUTER SCIENCE AND ENGINEERING
NIT ALLAHABAD

-- 
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.



[algogeeks] Re: Probability Puzzle

2011-08-08 Thread Dave
@Coder: You (and others) are saying that the probability of a head is
3/5 on the first flip, and that it doesn't change after any number of
heads are flipped. Notice, however, that if the first flip were tails,
you wouldn't say that the probability of getting heads on the next
flip is 3/5. You would have learned that one of the four fair coins
was chosen. So even though the probability of a head was 3/5 on the
first flip, it changes to 1/2 on all flips subsequent to a tail. Since
the probabililty changes if a tail is flipped, what makes you think it
doesn't change if a head is flipped.

In fact, the probability is 3/5 for the first flip. After a head is
flipped, the probability of a head is 2/3. After two heads have been
flipped, it is 3/4. After 3 heads, it is 5/6. After 4 heads, the
probability is 9/10, and after 5 heads, the probability is 17/18.

Dave

On Aug 8, 11:23 pm, coder dumca coder.du...@gmail.com wrote:
 it's 3/5



 On Tue, Aug 9, 2011 at 8:29 AM, Dave dave_and_da...@juno.com wrote:
  @Dipankar: You are correct about the answer to your alternative
  question being 17/80, but your answer 3/5 says that you don't think
  you have learned anything by the five heads flips. Don has given a
  good explanation as to why the answer is 17/18, but you apparently
  refuse to accept it. There is none so blind as one who will not see.

  Dave

  On Aug 8, 9:26 pm, Dipankar Patro dip10c...@gmail.com wrote:
   3/5.

   As the question doesn't ask anything about the sequence.
   Had the question been  Find the probability that all 6 are H  then it
   would have been 17/80.

   On 9 August 2011 04:07, Dave dave_and_da...@juno.com wrote:

@Vinay: What if you tossed 100 consecutive heads? Would that be enough
to convince you that you had the double-headed coin? If so, then
doesn't tossing 5 consecutive heads give you at least an inkling that
you might have it? Wouldn't you then think that there would be a
higher probability of getting a head on the sixth toss than there was
on the first toss (3/5)? Don's conditional probability answer 17/18 is
the right answer.

Dave

On Aug 8, 5:04 pm, vinay aggarwal vinayiiit2...@gmail.com wrote:
 answer should be 3/5
 think like that tossing 5 times will not help you predict the outcome
 of sixth toss. Therefore that information is meaningless.

--
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.

   --

  ___­­

   Please do not print this e-mail until urgent requirement. Go Green!!
   Save Papers = Save Trees

  --
  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.

-- 
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.



[algogeeks] Re: Probability Puzzle

2011-08-08 Thread Dave
@Raj. Granted that the first flip has a 3/5 probability of getting a
head. But if it produces a tail, would you say that the second flip
also has a 3/5 probability of getting a head? Or have you learned
something from the tail? If you learn something from a tail, why don't
you learn something from a head?

Dave

On Aug 8, 11:51 pm, raj kumar megamonste...@gmail.com wrote:
 @all those who gave Should be (4/5 *(1/2)^6) + (1/5 * 1) = 17/80

 when it's already given that 5 heads have turned up already then why abut
 are you adding that probability
 you all are considering it as finding the probability of finding 6
 consecutive heads.

 since all tosses are independent the answer should be 3/5.
  the point that 5 heads have turned up already may points that the coin
 selected is biased in that case pr(6)=1;
 now the answer depends on the interviewer  according to me it should be 3/5

 thanks

-- 
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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-08 Thread raj kumar
Just to resolve the issue what will be the probability of getting 6
consecutive heads

-- 
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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-08 Thread raj kumar
no then it will be 1/2

-- 
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.



[algogeeks] Re: Probability Puzzle

2011-08-08 Thread Dave
@Raj: After getting 5 consecutive heads, the probability of getting a
6th head is 17/18.

Dave

On Aug 9, 12:17 am, raj kumar megamonste...@gmail.com wrote:
 Just to resolve the issue what will be the probability of getting 6
 consecutive heads

-- 
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.



[algogeeks] Re: Probability Puzzle

2011-08-08 Thread Dave
@Raj. Good. So now answer my last question?

Dave

On Aug 9, 12:21 am, raj kumar megamonste...@gmail.com wrote:
 no then it will be 1/2

-- 
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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-08 Thread programming love
@Dave: I guess 17/18 is correct. Since we have to *calculate the probability
of getting a head in the 6th flip given that first 5 flips are a head*. Can
you please explain how you got the values of consequent flips when you said
this?

*In fact, the probability is 3/5 for the first flip. After a head is
flipped, the probability of a head is 2/3. After two heads have been
flipped, it is 3/4. After 3 heads, it is 5/6. After 4 heads, the
 probability is 9/10, and after 5 heads, the probability is 17/18.*

-- 
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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-08 Thread raj kumar
http://math.arizona.edu/~jwatkins/f-condition.pdf
see this link now  ithink the answer should be 65/66

bcoz the probability of selectting double headed coin after n heads
=2^n/2^n+1

and fair coin is =1/2^n+1


so for 6th head it should be :2^n/2^n+1*1+((1/2^n+1)*1/2)

-- 
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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-08 Thread raj kumar
plz reply am i right or wrong

-- 
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.



[algogeeks] Re: Probability Puzzle

2011-08-07 Thread saurabh chhabra
0.6?

On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.



[algogeeks] Re: Probability Puzzle

2011-08-07 Thread saurabh chhabra
sry...its wrong

On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.



[algogeeks] Re: Probability Puzzle

2011-08-07 Thread Algo Lover
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 saurabh131...@gmail.com wrote:
 sry...its wrong

 On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-07 Thread Kunal Yadav
@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 algolear...@gmail.com 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 saurabh131...@gmail.com wrote:
  sry...its wrong
 
  On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.




-- 
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 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.



[algogeeks] Re: Probability Puzzle

2011-08-07 Thread saurabh chhabra
Even u dont get why u people are gettin 17/80...the probability that
it will be a head 6th time will be same as the frst time...so it shud
be 3/5...

On Aug 7, 11:05 pm, Kunal Yadav kunalyada...@gmail.com wrote:
 @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 algolear...@gmail.com 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 saurabh131...@gmail.com wrote:
   sry...its wrong

   On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.

 --
 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 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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-07 Thread aseem garg
If the coin is unbiased then probability of heads: 1/2 irrespective of
whether it is first time or nth time. So answer should be 3/5.
Aseem



On Mon, Aug 8, 2011 at 12:39 AM, saurabh chhabra saurabh131...@gmail.comwrote:

 Even u dont get why u people are gettin 17/80...the probability that
 it will be a head 6th time will be same as the frst time...so it shud
 be 3/5...

 On Aug 7, 11:05 pm, Kunal Yadav kunalyada...@gmail.com wrote:
  @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 algolear...@gmail.com
 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 saurabh131...@gmail.com wrote:
sry...its wrong
 
On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.
 
  --
  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 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.



-- 
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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-07 Thread Puneet Gautam
Sixth toss is independent of previous tosses and dependent only on
coin selection...!

1/5 + 4/5(1/2)= 3/5

is the correct answer

we want to calc. probability of getting heads the sixth time only
even if it would have been 100 th time...3/5 would be the answer
only..


On 8/8/11, Prakash D cegprak...@gmail.com wrote:
 1.) coin is fair
 2.) coin is unfair

 P(head) for unfair coin= 1/5 * 1= 1/5
 P(head) for fair coin= 4/5* 1/2 = 2/5


 the probability at any instant that the tossed coin is a head is 3/5

 17/80 is the probability to get head at all the six times.

 the soln. for this problem will be 3/5

 On Mon, Aug 8, 2011 at 12:45 AM, aseem garg ase.as...@gmail.com wrote:

 If the coin is unbiased then probability of heads: 1/2 irrespective of
 whether it is first time or nth time. So answer should be 3/5.
 Aseem



 On Mon, Aug 8, 2011 at 12:39 AM, saurabh chhabra
 saurabh131...@gmail.comwrote:

 Even u dont get why u people are gettin 17/80...the probability that
 it will be a head 6th time will be same as the frst time...so it shud
 be 3/5...

 On Aug 7, 11:05 pm, Kunal Yadav kunalyada...@gmail.com wrote:
  @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 algolear...@gmail.com
 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 saurabh131...@gmail.com wrote:
sry...its wrong
 
On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.
 
  --
  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 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.


  --
 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.


 --
 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.



-- 
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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-07 Thread Shuaib Khan
On Mon, Aug 8, 2011 at 12:40 AM, Puneet Gautam puneet.nsi...@gmail.comwrote:

 Sixth toss is independent of previous tosses and dependent only on
 coin selection...!

 1/5 + 4/5(1/2)= 3/5

 is the correct answer

 we want to calc. probability of getting heads the sixth time only
 even if it would have been 100 th time...3/5 would be the answer
 only..


It is not independent. Re read the question. The first five times, it HAS to
be heads.


 On 8/8/11, Prakash D cegprak...@gmail.com wrote:
  1.) coin is fair
  2.) coin is unfair
 
  P(head) for unfair coin= 1/5 * 1= 1/5
  P(head) for fair coin= 4/5* 1/2 = 2/5
 
 
  the probability at any instant that the tossed coin is a head is 3/5
 
  17/80 is the probability to get head at all the six times.
 
  the soln. for this problem will be 3/5
 
  On Mon, Aug 8, 2011 at 12:45 AM, aseem garg ase.as...@gmail.com wrote:
 
  If the coin is unbiased then probability of heads: 1/2 irrespective of
  whether it is first time or nth time. So answer should be 3/5.
  Aseem
 
 
 
  On Mon, Aug 8, 2011 at 12:39 AM, saurabh chhabra
  saurabh131...@gmail.comwrote:
 
  Even u dont get why u people are gettin 17/80...the probability that
  it will be a head 6th time will be same as the frst time...so it shud
  be 3/5...
 
  On Aug 7, 11:05 pm, Kunal Yadav kunalyada...@gmail.com wrote:
   @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 algolear...@gmail.com
  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 saurabh131...@gmail.com
 wrote:
 sry...its wrong
  
 On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.
  
   --
   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 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.
 
 
   --
  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.
 
 
  --
  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.
 
 

 --
 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.




-- 
Shuaib
http://www.bytehood.com
http://twitter.com/ShuaibKhan

-- 
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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-07 Thread aseem garg
Think it like this. I have tossed a coin 5 times and it showed heads all the
times. What is the probabilty of it shoing a HEADS now?
Aseem



On Mon, Aug 8, 2011 at 1:12 AM, Shuaib Khan aries.shu...@gmail.com wrote:



 On Mon, Aug 8, 2011 at 12:40 AM, Puneet Gautam puneet.nsi...@gmail.comwrote:

 Sixth toss is independent of previous tosses and dependent only on
 coin selection...!

 1/5 + 4/5(1/2)= 3/5

 is the correct answer

 we want to calc. probability of getting heads the sixth time only
 even if it would have been 100 th time...3/5 would be the answer
 only..


 It is not independent. Re read the question. The first five times, it HAS
 to be heads.


 On 8/8/11, Prakash D cegprak...@gmail.com wrote:
  1.) coin is fair
  2.) coin is unfair
 
  P(head) for unfair coin= 1/5 * 1= 1/5
  P(head) for fair coin= 4/5* 1/2 = 2/5
 
 
  the probability at any instant that the tossed coin is a head is 3/5
 
  17/80 is the probability to get head at all the six times.
 
  the soln. for this problem will be 3/5
 
  On Mon, Aug 8, 2011 at 12:45 AM, aseem garg ase.as...@gmail.com
 wrote:
 
  If the coin is unbiased then probability of heads: 1/2 irrespective of
  whether it is first time or nth time. So answer should be 3/5.
  Aseem
 
 
 
  On Mon, Aug 8, 2011 at 12:39 AM, saurabh chhabra
  saurabh131...@gmail.comwrote:
 
  Even u dont get why u people are gettin 17/80...the probability that
  it will be a head 6th time will be same as the frst time...so it shud
  be 3/5...
 
  On Aug 7, 11:05 pm, Kunal Yadav kunalyada...@gmail.com wrote:
   @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 algolear...@gmail.com
  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 saurabh131...@gmail.com
 wrote:
 sry...its wrong
  
 On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.
  
   --
   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 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.
 
 
   --
  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.
 
 
  --
  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.
 
 

 --
 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.




 --
 Shuaib
 http://www.bytehood.com
 http://twitter.com/ShuaibKhan

  --
 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.


-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To 

Re: [algogeeks] Re: Probability Puzzle

2011-08-07 Thread Shuaib Khan
On Mon, Aug 8, 2011 at 12:47 AM, aseem garg ase.as...@gmail.com wrote:

 Think it like this. I have tossed a coin 5 times and it showed heads all
 the times. What is the probabilty of it shoing a HEADS now?
 Aseem


Well you are thinking about it the wrong way. Question asks that what is the
probability that heads will show up the first five times, plus a sixth time.
Not just the sixth time. The first five times head showing up is part of the
question.






 On Mon, Aug 8, 2011 at 1:12 AM, Shuaib Khan aries.shu...@gmail.comwrote:



 On Mon, Aug 8, 2011 at 12:40 AM, Puneet Gautam 
 puneet.nsi...@gmail.comwrote:

 Sixth toss is independent of previous tosses and dependent only on
 coin selection...!

 1/5 + 4/5(1/2)= 3/5

 is the correct answer

 we want to calc. probability of getting heads the sixth time only
 even if it would have been 100 th time...3/5 would be the answer
 only..


 It is not independent. Re read the question. The first five times, it HAS
 to be heads.


 On 8/8/11, Prakash D cegprak...@gmail.com wrote:
  1.) coin is fair
  2.) coin is unfair
 
  P(head) for unfair coin= 1/5 * 1= 1/5
  P(head) for fair coin= 4/5* 1/2 = 2/5
 
 
  the probability at any instant that the tossed coin is a head is 3/5
 
  17/80 is the probability to get head at all the six times.
 
  the soln. for this problem will be 3/5
 
  On Mon, Aug 8, 2011 at 12:45 AM, aseem garg ase.as...@gmail.com
 wrote:
 
  If the coin is unbiased then probability of heads: 1/2 irrespective of
  whether it is first time or nth time. So answer should be 3/5.
  Aseem
 
 
 
  On Mon, Aug 8, 2011 at 12:39 AM, saurabh chhabra
  saurabh131...@gmail.comwrote:
 
  Even u dont get why u people are gettin 17/80...the probability that
  it will be a head 6th time will be same as the frst time...so it shud
  be 3/5...
 
  On Aug 7, 11:05 pm, Kunal Yadav kunalyada...@gmail.com wrote:
   @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 algolear...@gmail.com
 
  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 saurabh131...@gmail.com
 wrote:
 sry...its wrong
  
 On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.
  
   --
   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 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.
 
 
   --
  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.
 
 
  --
  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.
 
 

 --
 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.




 --
 Shuaib
 http://www.bytehood.com
 http://twitter.com/ShuaibKhan

  --
 You received this message because you are subscribed to the Google Groups
 Algorithm Geeks group.
 To post to this group, 

Re: [algogeeks] Re: Probability Puzzle

2011-08-07 Thread aseem garg
@Shuaib:  **What is the probability that you toss *next time, heads turns up
***.
Aseem



On Mon, Aug 8, 2011 at 1:19 AM, Shuaib Khan aries.shu...@gmail.com wrote:



 On Mon, Aug 8, 2011 at 12:47 AM, aseem garg ase.as...@gmail.com wrote:

 Think it like this. I have tossed a coin 5 times and it showed heads all
 the times. What is the probabilty of it shoing a HEADS now?
 Aseem


 Well you are thinking about it the wrong way. Question asks that what is
 the probability that heads will show up the first five times, plus a sixth
 time. Not just the sixth time. The first five times head showing up is part
 of the question.






 On Mon, Aug 8, 2011 at 1:12 AM, Shuaib Khan aries.shu...@gmail.comwrote:



 On Mon, Aug 8, 2011 at 12:40 AM, Puneet Gautam 
 puneet.nsi...@gmail.comwrote:

 Sixth toss is independent of previous tosses and dependent only on
 coin selection...!

 1/5 + 4/5(1/2)= 3/5

 is the correct answer

 we want to calc. probability of getting heads the sixth time only
 even if it would have been 100 th time...3/5 would be the answer
 only..


 It is not independent. Re read the question. The first five times, it HAS
 to be heads.


 On 8/8/11, Prakash D cegprak...@gmail.com wrote:
  1.) coin is fair
  2.) coin is unfair
 
  P(head) for unfair coin= 1/5 * 1= 1/5
  P(head) for fair coin= 4/5* 1/2 = 2/5
 
 
  the probability at any instant that the tossed coin is a head is 3/5
 
  17/80 is the probability to get head at all the six times.
 
  the soln. for this problem will be 3/5
 
  On Mon, Aug 8, 2011 at 12:45 AM, aseem garg ase.as...@gmail.com
 wrote:
 
  If the coin is unbiased then probability of heads: 1/2 irrespective
 of
  whether it is first time or nth time. So answer should be 3/5.
  Aseem
 
 
 
  On Mon, Aug 8, 2011 at 12:39 AM, saurabh chhabra
  saurabh131...@gmail.comwrote:
 
  Even u dont get why u people are gettin 17/80...the probability that
  it will be a head 6th time will be same as the frst time...so it
 shud
  be 3/5...
 
  On Aug 7, 11:05 pm, Kunal Yadav kunalyada...@gmail.com wrote:
   @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 
 algolear...@gmail.com
  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 saurabh131...@gmail.com
 wrote:
 sry...its wrong
  
 On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.
  
   --
   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 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.
 
 
   --
  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.
 
 
  --
  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.
 
 

 --
 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.




 --
 Shuaib
 

Re: [algogeeks] Re: Probability Puzzle

2011-08-07 Thread Prakash D
no fight.. lets mention both the answers :D

On Mon, Aug 8, 2011 at 1:19 AM, Shuaib Khan aries.shu...@gmail.com wrote:



 On Mon, Aug 8, 2011 at 12:47 AM, aseem garg ase.as...@gmail.com wrote:

 Think it like this. I have tossed a coin 5 times and it showed heads all
 the times. What is the probabilty of it shoing a HEADS now?
 Aseem


 Well you are thinking about it the wrong way. Question asks that what is
 the probability that heads will show up the first five times, plus a sixth
 time. Not just the sixth time. The first five times head showing up is part
 of the question.






 On Mon, Aug 8, 2011 at 1:12 AM, Shuaib Khan aries.shu...@gmail.comwrote:



 On Mon, Aug 8, 2011 at 12:40 AM, Puneet Gautam 
 puneet.nsi...@gmail.comwrote:

 Sixth toss is independent of previous tosses and dependent only on
 coin selection...!

 1/5 + 4/5(1/2)= 3/5

 is the correct answer

 we want to calc. probability of getting heads the sixth time only
 even if it would have been 100 th time...3/5 would be the answer
 only..


 It is not independent. Re read the question. The first five times, it HAS
 to be heads.


 On 8/8/11, Prakash D cegprak...@gmail.com wrote:
  1.) coin is fair
  2.) coin is unfair
 
  P(head) for unfair coin= 1/5 * 1= 1/5
  P(head) for fair coin= 4/5* 1/2 = 2/5
 
 
  the probability at any instant that the tossed coin is a head is 3/5
 
  17/80 is the probability to get head at all the six times.
 
  the soln. for this problem will be 3/5
 
  On Mon, Aug 8, 2011 at 12:45 AM, aseem garg ase.as...@gmail.com
 wrote:
 
  If the coin is unbiased then probability of heads: 1/2 irrespective
 of
  whether it is first time or nth time. So answer should be 3/5.
  Aseem
 
 
 
  On Mon, Aug 8, 2011 at 12:39 AM, saurabh chhabra
  saurabh131...@gmail.comwrote:
 
  Even u dont get why u people are gettin 17/80...the probability that
  it will be a head 6th time will be same as the frst time...so it
 shud
  be 3/5...
 
  On Aug 7, 11:05 pm, Kunal Yadav kunalyada...@gmail.com wrote:
   @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 
 algolear...@gmail.com
  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 saurabh131...@gmail.com
 wrote:
 sry...its wrong
  
 On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.
  
   --
   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 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.
 
 
   --
  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.
 
 
  --
  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.
 
 

 --
 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.




 --
 Shuaib
 http://www.bytehood.com
 

Re: [algogeeks] Re: Probability Puzzle

2011-08-07 Thread Shuaib Khan
On Mon, Aug 8, 2011 at 12:51 AM, aseem garg ase.as...@gmail.com wrote:

 @Shuaib:  **What is the probability that you toss *next time, heads turns
 up***.


Well if you interpret it your way, then you are right. Otherwise, not.


 Aseem



 On Mon, Aug 8, 2011 at 1:19 AM, Shuaib Khan aries.shu...@gmail.comwrote:



 On Mon, Aug 8, 2011 at 12:47 AM, aseem garg ase.as...@gmail.com wrote:

 Think it like this. I have tossed a coin 5 times and it showed heads all
 the times. What is the probabilty of it shoing a HEADS now?
 Aseem


 Well you are thinking about it the wrong way. Question asks that what is
 the probability that heads will show up the first five times, plus a sixth
 time. Not just the sixth time. The first five times head showing up is part
 of the question.






 On Mon, Aug 8, 2011 at 1:12 AM, Shuaib Khan aries.shu...@gmail.comwrote:



 On Mon, Aug 8, 2011 at 12:40 AM, Puneet Gautam puneet.nsi...@gmail.com
  wrote:

 Sixth toss is independent of previous tosses and dependent only on
 coin selection...!

 1/5 + 4/5(1/2)= 3/5

 is the correct answer

 we want to calc. probability of getting heads the sixth time only
 even if it would have been 100 th time...3/5 would be the answer
 only..


 It is not independent. Re read the question. The first five times, it
 HAS to be heads.


 On 8/8/11, Prakash D cegprak...@gmail.com wrote:
  1.) coin is fair
  2.) coin is unfair
 
  P(head) for unfair coin= 1/5 * 1= 1/5
  P(head) for fair coin= 4/5* 1/2 = 2/5
 
 
  the probability at any instant that the tossed coin is a head is 3/5
 
  17/80 is the probability to get head at all the six times.
 
  the soln. for this problem will be 3/5
 
  On Mon, Aug 8, 2011 at 12:45 AM, aseem garg ase.as...@gmail.com
 wrote:
 
  If the coin is unbiased then probability of heads: 1/2 irrespective
 of
  whether it is first time or nth time. So answer should be 3/5.
  Aseem
 
 
 
  On Mon, Aug 8, 2011 at 12:39 AM, saurabh chhabra
  saurabh131...@gmail.comwrote:
 
  Even u dont get why u people are gettin 17/80...the probability
 that
  it will be a head 6th time will be same as the frst time...so it
 shud
  be 3/5...
 
  On Aug 7, 11:05 pm, Kunal Yadav kunalyada...@gmail.com wrote:
   @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 
 algolear...@gmail.com
  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 saurabh131...@gmail.com
 wrote:
 sry...its wrong
  
 On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com
 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
 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.
  
   --
   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 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.
 
 
   --
  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.
 
 
  --
  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.
 
 

 --
 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
 

Re: [algogeeks] Re: Probability Puzzle

2011-08-07 Thread Puneet Gautam
abe yaar kya farak padta hai... 3/5=0.6 , other one may be 0.4 ya 0.3,

 0.3 ke difference ke liye lad rahe ho...

Chill guys...

On 8/8/11, Shuaib Khan aries.shu...@gmail.com wrote:
 On Mon, Aug 8, 2011 at 12:51 AM, aseem garg ase.as...@gmail.com wrote:

 @Shuaib:  **What is the probability that you toss *next time, heads turns
 up***.


 Well if you interpret it your way, then you are right. Otherwise, not.


 Aseem



 On Mon, Aug 8, 2011 at 1:19 AM, Shuaib Khan aries.shu...@gmail.comwrote:



 On Mon, Aug 8, 2011 at 12:47 AM, aseem garg ase.as...@gmail.com wrote:

 Think it like this. I have tossed a coin 5 times and it showed heads all
 the times. What is the probabilty of it shoing a HEADS now?
 Aseem


 Well you are thinking about it the wrong way. Question asks that what is
 the probability that heads will show up the first five times, plus a
 sixth
 time. Not just the sixth time. The first five times head showing up is
 part
 of the question.






 On Mon, Aug 8, 2011 at 1:12 AM, Shuaib Khan
 aries.shu...@gmail.comwrote:



 On Mon, Aug 8, 2011 at 12:40 AM, Puneet Gautam puneet.nsi...@gmail.com
  wrote:

 Sixth toss is independent of previous tosses and dependent only on
 coin selection...!

 1/5 + 4/5(1/2)= 3/5

 is the correct answer

 we want to calc. probability of getting heads the sixth time only
 even if it would have been 100 th time...3/5 would be the answer
 only..


 It is not independent. Re read the question. The first five times, it
 HAS to be heads.


 On 8/8/11, Prakash D cegprak...@gmail.com wrote:
  1.) coin is fair
  2.) coin is unfair
 
  P(head) for unfair coin= 1/5 * 1= 1/5
  P(head) for fair coin= 4/5* 1/2 = 2/5
 
 
  the probability at any instant that the tossed coin is a head is 3/5
 
  17/80 is the probability to get head at all the six times.
 
  the soln. for this problem will be 3/5
 
  On Mon, Aug 8, 2011 at 12:45 AM, aseem garg ase.as...@gmail.com
 wrote:
 
  If the coin is unbiased then probability of heads: 1/2 irrespective
 of
  whether it is first time or nth time. So answer should be 3/5.
  Aseem
 
 
 
  On Mon, Aug 8, 2011 at 12:39 AM, saurabh chhabra
  saurabh131...@gmail.comwrote:
 
  Even u dont get why u people are gettin 17/80...the probability
 that
  it will be a head 6th time will be same as the frst time...so it
 shud
  be 3/5...
 
  On Aug 7, 11:05 pm, Kunal Yadav kunalyada...@gmail.com wrote:
   @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 
 algolear...@gmail.com
  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 saurabh131...@gmail.com
 wrote:
 sry...its wrong
  
 On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com
 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
 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.
  
   --
   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 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.
 
 
   --
  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.
 
 
  --
  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.
 
 

 --
 You received this message 

[algogeeks] Re: Probability Puzzle

2011-08-07 Thread Dave
@Puneet: So are you saying that 100 heads in a row wouldn't convince
you that you had the unfair coin? How many heads in a row would it
take?

Dave

On Aug 7, 2:40 pm, Puneet Gautam puneet.nsi...@gmail.com wrote:
 Sixth toss is independent of previous tosses and dependent only on
 coin selection...!

 1/5 + 4/5(1/2)= 3/5

 is the correct answer

 we want to calc. probability of getting heads the sixth time only
 even if it would have been 100 th time...3/5 would be the answer
 only..

 On 8/8/11, Prakash D cegprak...@gmail.com wrote:



  1.) coin is fair
  2.) coin is unfair

  P(head) for unfair coin= 1/5 * 1= 1/5
  P(head) for fair coin= 4/5* 1/2 = 2/5

  the probability at any instant that the tossed coin is a head is 3/5

  17/80 is the probability to get head at all the six times.

  the soln. for this problem will be 3/5

  On Mon, Aug 8, 2011 at 12:45 AM, aseem garg ase.as...@gmail.com wrote:

  If the coin is unbiased then probability of heads: 1/2 irrespective of
  whether it is first time or nth time. So answer should be 3/5.
  Aseem

  On Mon, Aug 8, 2011 at 12:39 AM, saurabh chhabra
  saurabh131...@gmail.comwrote:

  Even u dont get why u people are gettin 17/80...the probability that
  it will be a head 6th time will be same as the frst time...so it shud
  be 3/5...

  On Aug 7, 11:05 pm, Kunal Yadav kunalyada...@gmail.com wrote:
   @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 algolear...@gmail.com
  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 saurabh131...@gmail.com wrote:
 sry...its wrong

 On Aug 7, 10:34 pm, Algo Lover algolear...@gmail.com 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 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.

   --
   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 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.

   --
  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.

  --
  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.

-- 
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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-07 Thread Brijesh Upadhyay
I think 17/80 is right answer.. otherwise no use of mentioning *first five 
times* specifically in the question. ! though m not sure 

-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/algogeeks/-/1aMP_RgRaDYJ.
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.



[algogeeks] Re: Probability Puzzle

2011-08-07 Thread D.B.
1/5+1/2^6

On Aug 7, 8:34 pm, Algo Lover algolear...@gmail.com 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 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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-07 Thread Kamakshii Aggarwal
i think the answer will be 1/5+  4/5*1/2=3/5

coz the question is saying what is the probability of getting head* sixth
time*(when 5 heads were already there)..


it is not saying what is the probability of getting heads* 6 times*..(in
this case answer will be 17/180)

On Mon, Aug 8, 2011 at 9:54 AM, D.B. sylve...@gmail.com wrote:

 1/5+1/2^6

 On Aug 7, 8:34 pm, Algo Lover algolear...@gmail.com 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 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.




-- 
Regards,
Kamakshi
kamakshi...@gmail.com

-- 
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.



Re: [algogeeks] Re: Probability Puzzle

2011-08-07 Thread kumar raja
I think the answer is 3/5, becoz all the trails/tossing coins are
independent events. So even when it is 100th time the answer is 3/5.

On 8 August 2011 09:05, Kamakshii Aggarwal kamakshi...@gmail.com wrote:

 i think the answer will be 1/5+  4/5*1/2=3/5

 coz the question is saying what is the probability of getting head* sixth
 time*(when 5 heads were already there)..


 it is not saying what is the probability of getting heads* 6 times*..(in
 this case answer will be 17/180)


 On Mon, Aug 8, 2011 at 9:54 AM, D.B. sylve...@gmail.com wrote:

 1/5+1/2^6

 On Aug 7, 8:34 pm, Algo Lover algolear...@gmail.com 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 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.




 --
 Regards,
 Kamakshi
 kamakshi...@gmail.com

 --
 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.




-- 
Regards
Kumar Raja
M.Tech(SIT)
IIT Kharagpur,
10it60...@iitkgp.ac.in
7797137043.
09491690115.

-- 
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.