We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Artificial Intelligence
- Probability & Statistics - Foundations
- Basic Probability Puzzles #9
- Discussions
Basic Probability Puzzles #9
Basic Probability Puzzles #9
Sort by
recency
|
12 Discussions
|
Please Login in order to post a comment
How to write the codes in Java? (Atleast first predefined lines) What language can we use?
I am new to this platform. Please Help! Thank You.
One possible way to solve this is calculate all probabilities to get an interview: P(A)~P(B)~P(C) + ~P(A)P(B)~P(C) + ~P(A)*~P(B)*P(C) + P(A)P(B)~P(C)+ ... = Ans
But: Ans + ~P(A)~P(B)~P(C) = 1 So, you just need to find 1 - ~P(A)~P(B)~P(C)
Why not just do 1 - P(Not getting into any company) = 1-(11/12 * 14/15 * 9/10) = 0.23 ?
Prob of not getting a job in any of the companies is :
p(A)=11/12*14/15*9/10
so the prob of getting atleast 1 job is =1-p(A) =1-(11*14*9/1800)=23/100
Therea are two approaches, leading to the same solution
P(A or B or C) = P (A) + P(B) + P(C) - P(A and B) - P(A and C) - P(B and C) + P( A and B and C)
For proof, see:
https://math.stackexchange.com/questions/1291012/how-to-proof-formula-for-general-addition-rule-of-three-events
or obviously simpler, as most people here seem to have done : 1 - P(not A)*P(not B)*P(not C)