Let , be the number of errors in the th block, i.e., , and . Then the answer to (a) is . Your answer to (b) is correct. The answer to (c), i.e., the expectation of is .
I am trying to solve the following problem, but not sure if i am doing it right, I know the the answer for B is right...but A and C not sure yet.........The question is as follow...
A computer code consists of two blocks written independently by two programmers. Each block contains no errors with probability 0.6, one error with probability 0.3, and two errors with probability 0.1.
a)What is the probability that there are more errors in the first block than in the second block?
b)What is the probability that two blocks have an equal number of errors?
For this part i got .46 = (.6^2) + (.3^2) + (.1^2)
c)Compute the expected number of errors in the 1st block.