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.
In first 40 hours he earns = 7.30 x 40 = $292 Each hour after his rate = 7.20 x 1.5 = $10.80 per hour In extra four hours he earns = 10.80 x 4 = $43.20
Total earnings = $292 + $43.20 = $335.20 Therefore you don't agree Hoped this helped you