A computer program is tested by 5 independent tests. If there is an error, these tests will discover it with probabilities 0.1, 0.2, 0.3, 0.4, and 0.5, respectively. Suppose that the program contains an error. What is the probability that it will be found (a) by at least one test

Respuesta :

Answer:

0.8488 = 84.88% probability that it will be found by at least one test.

Step-by-step explanation:

Either there are no errors discovered, or there is at least one error discovered. The sum of the probabilities of these outcomes is 1.

Probabilities of no errors discovered:

If there is an error, these tests will discover it with probabilities 0.1, 0.2, 0.3, 0.4, and 0.5. So, of not discovering the errors, the probabilities are: 0.9, 0.8, 0.7, 0.6, 0.5.

The probabilities of none discovering the error is:

[tex]p = 0.9*0.8*0.7*0.6*0.5 = 0.1512[/tex]

(a) by at least one test

None: 0.1512

At least one: 1 - 0.1512 = 0.8488

0.8488 = 84.88% probability that it will be found by at least one test.