Answer:
The solution to above problem is 1- $45n 2- $(250+28n) 3- $(500+20n)
Step-by-step explanation:
There are

ways of selecting two of the six blocks at random. The probability that one of them contains an error is

So

has probability mass function

These are the only two cases since there is only one error known to exist in the code; any two blocks of code chosen at random must either contain the error or not.
The expected value of finding an error is then
The number would be 21 because if you add 5+37 then divide by 2.Younwill get the answer
Answer:
5.5 pints is the answer to this