3.6k views
2 votes
There is one error in one of five blocks of a program. To find the error, we test three randomly selected blocks. Let X be the number of errors in these three blocks. Compute E(X) and Var(X).

User Jarcoal
by
7.0k points

1 Answer

5 votes
The probability, or expectation value for X in a block, equals the number of occurrences of X in all the blocks divided by the total number of blocks

well E(X)=µ and Var(X)=E[(X-µ)^2]
User Dudemonkey
by
7.4k points