A computer program consists of two blocks written independently by two different programmers.the first block has an error with p
robability 0.2. the second block has an errorwith probability 0.3. if the program returns an error, what is the probability that there isan error in both blocks?
The probabilities of the first block having an error and the second block having an error are independent; one block having an error does not affect the probability of the second block having an error.
Since they are independent, to find the probability of both occurring, we simply multiply the probabilities:
To work out the probability of both errors occuring, simply multiply the probability of the first error by the probability of the second error. Therefore the probability of both errors occurring is 0.2 * 0.3 = 0.06.
if you take how many yellow marbles he got out of 7 it would be 3/7 and then I divided 400 by 7 and got 57. something so I multiplied 3 times 57 and got 171. So if you take 400-171 you get 229