[algogeeks] probablity

2011-08-05 Thread Kamakshii Aggarwal
 I was given 3 packets, with 2 pens each.

1st Packet has 2 blue pens.

2nd Packet has 1 blue pen,1 black pen.

3rd Packet has 2 black pens.



I took any one packet and pulled out one pen. It turned out to be a blue
one.

What is the probability that the next pen from the same packet will

also be a blue one?

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

2011-08-05 Thread arvind kumar
Jus use Baye's theorem.its a direct n simple app of dat:)

On Fri, Aug 5, 2011 at 9:14 PM, Kamakshii Aggarwal kamakshi...@gmail.comwrote:

 I was given 3 packets, with 2 pens each.

 1st Packet has 2 blue pens.

 2nd Packet has 1 blue pen,1 black pen.

 3rd Packet has 2 black pens.



 I took any one packet and pulled out one pen. It turned out to be a blue
 one.

 What is the probability that the next pen from the same packet will

 also be a blue one?

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


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

2011-08-05 Thread Puneet Goyal
1/2

you got the blue pen so it is for sure that is one of the first two packets,
so you are left with a black pen and a blue pen and you have to find the
probability of finding a blue pen among them

On Fri, Aug 5, 2011 at 9:14 PM, Kamakshii Aggarwal kamakshi...@gmail.comwrote:

 I was given 3 packets, with 2 pens each.

 1st Packet has 2 blue pens.

 2nd Packet has 1 blue pen,1 black pen.

 3rd Packet has 2 black pens.



 I took any one packet and pulled out one pen. It turned out to be a blue
 one.

 What is the probability that the next pen from the same packet will

 also be a blue one?

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




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



Re: [algogeeks] probablity

2011-08-05 Thread Rahul Jain
i agree with puneet. 1/2

On Fri, Aug 5, 2011 at 9:18 PM, Puneet Goyal puneetgoya...@gmail.comwrote:

 1/2

 you got the blue pen so it is for sure that is one of the first two
 packets, so you are left with a black pen and a blue pen and you have to
 find the probability of finding a blue pen among them

  On Fri, Aug 5, 2011 at 9:14 PM, Kamakshii Aggarwal kamakshi...@gmail.com
  wrote:

  I was given 3 packets, with 2 pens each.

 1st Packet has 2 blue pens.

 2nd Packet has 1 blue pen,1 black pen.

 3rd Packet has 2 black pens.



 I took any one packet and pulled out one pen. It turned out to be a blue
 one.

 What is the probability that the next pen from the same packet will

 also be a blue one?

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




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


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

2011-08-05 Thread nishaanth
5/6

On Fri, Aug 5, 2011 at 5:55 PM, Rahul Jain rahuljai...@gmail.com wrote:

 i agree with puneet. 1/2


 On Fri, Aug 5, 2011 at 9:18 PM, Puneet Goyal puneetgoya...@gmail.comwrote:

 1/2

 you got the blue pen so it is for sure that is one of the first two
 packets, so you are left with a black pen and a blue pen and you have to
 find the probability of finding a blue pen among them

  On Fri, Aug 5, 2011 at 9:14 PM, Kamakshii Aggarwal 
 kamakshi...@gmail.com wrote:

  I was given 3 packets, with 2 pens each.

 1st Packet has 2 blue pens.

 2nd Packet has 1 blue pen,1 black pen.

 3rd Packet has 2 black pens.



 I took any one packet and pulled out one pen. It turned out to be a blue
 one.

 What is the probability that the next pen from the same packet will

 also be a blue one?

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




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


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




-- 
S.Nishaanth,
Computer Science and engineering,
IIT Madras.

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

2011-08-05 Thread abhishek iyer
@Nishant.. Can u please explain ur approach.. I think its as per mentioned
above 1/2...
On 5 Aug 2011 21:30, nishaanth nishaant...@gmail.com wrote:
 5/6

 On Fri, Aug 5, 2011 at 5:55 PM, Rahul Jain rahuljai...@gmail.com wrote:

 i agree with puneet. 1/2


 On Fri, Aug 5, 2011 at 9:18 PM, Puneet Goyal puneetgoya...@gmail.com
wrote:

 1/2

 you got the blue pen so it is for sure that is one of the first two
 packets, so you are left with a black pen and a blue pen and you have to
 find the probability of finding a blue pen among them

 On Fri, Aug 5, 2011 at 9:14 PM, Kamakshii Aggarwal 
 kamakshi...@gmail.com wrote:

 I was given 3 packets, with 2 pens each.

 1st Packet has 2 blue pens.

 2nd Packet has 1 blue pen,1 black pen.

 3rd Packet has 2 black pens.



 I took any one packet and pulled out one pen. It turned out to be a
blue
 one.

 What is the probability that the next pen from the same packet will

 also be a blue one?

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




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


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




 --
 S.Nishaanth,
 Computer Science and engineering,
 IIT Madras.

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