Rahul Mehta Gandhinagar LsCandidate
why ChatGpt can never ever replace programmers, and any area which needs logic/maths
.
I asked this question : There are 245 white balls and 15 black balls in a bag. If 5 balls are chosen at random, then what is probability that one or more ball is black? Pls give answer in plian text with no froamtting so that I can copy-paste in notepad
Answer - Total number of balls: 245 white + 15 black = 260
Total ways to choose 5 balls from 260: C(260, 5) = 60,400,728
Ways to choose 5 white balls from 245: C(245, 5) = 5,527,200
Probability of choosing 5 white balls: P(all white) = C(245, 5) / C(260, 5) = 5,527,200 / 60,400,728 ≈ 0.0915
Probability of choosing one or more black balls: P(one or more black) = 1 - P(all white) = 1 - 0.0915 = 0.9085
Therefore, the probability that one or more balls chosen are black is approximately 0.9085
.
------------
.
Steps and answers are wrong,. Correct ans is 24%