Using the hypergeometric distribution, it is found that there is a 0.1667 = 16.67% probability that he selects the two good batteries.
The batteries are chosen from the sample without replacement, which is why the hypergeometric distribution is used to solve this question.
Hypergeometric distribution:
[tex]P(X = x) = h(x,N,n,k) = \frac{C_{k,x}C_{N-k,n-x}}{C_{N,n}}[/tex]
[tex]C_{n,x} = \frac{n!}{x!(n-x)!}[/tex]
The parameters are:
In this problem:
The probability that both are good is P(X = 2), thus:
[tex]P(X = x) = h(x,N,n,k) = \frac{C_{k,x}C_{N-k,n-x}}{C_{N,n}}[/tex]
[tex]P(X = 2) = h(2,4,2,2) = \frac{C_{2,2}C_{2,0}}{C_{4,2}} = 0.1667[/tex]
0.1667 = 16.67% probability that he selects the two good batteries.
A similar problem is given at https://brainly.com/question/24826394