Total apples (N ) = 10
Rotten apples (M ) = 3
Good apples (N−M ) = 7
Apples drawn (n ) = 4
Using the Distribution formula P(X=k)=(nN)(kM)(n−kN−M) :The total ways to draw 4 apples is (410)=4×3×2×110×9×8×7=210 .
- P(X=0)=210(03)(47)=2101×35=21035
- P(X=1)=210(13)(37)=2103×35=210105
- P(X=2)=210(23)(27)=2103×21=21063
- P(X=3)=210(33)(17)=2101×7=2107
For the any distribution, we know that σ2=E[X2]−μ2, so 10(μ2+σ2)=10E[X2]
Now we calculate E[X2] :
E[X2]=∑xi2P(xi) E[X2]=02(21035)+12(210105)+22(21063)+32(2107)
E[X2]=210105+252+63=210420=2.0
10(μ2+σ2)=10×E[X2] =10×2.0=20
The final value is 20.