A computer software has two subroutines set at work. Routine A is used 30% of the time, while routine B is used 70%. If routine A is used, there is a 65% probability that the program ends before the time limit. If routine B is used, there is a 45% probability that the program will end on time. What is the probability that the program will run without exceeding the time limit?
P(Routine A) = 0.30
P(Routine B) = 0.70
P(the program will run without exceeding the time limit) = P(Routine A and the program will run without exceeding the time limit) + P(Routine B and the program will run without exceeding the time limit)
= 0.30x0.65 + 0.70x0.45
= 0.51
A computer software has two subroutines set at work. Routine A is used 30% of the...