A computer program requires C clock cycles (in billions) for completion, where C is a random variable uniformly distributed over {1, 2, . . . , 4}. Furthermore, this program is randomly scheduled to run over one of two computers, with equal probability. The processor of Computer 1 runs at one Gigahertz, and the processor of Computer 2 runs at two Gigahertz.

a. Compute the probability that this program needs more than 2.5 billion cycles to complete.
b. Calculate the probability that this program takes less than two seconds to execute, given that it is scheduled to run on Computer 2.
c. Find the mean and variance of the execution time of this program if it is scheduled to run on Computer 1.
d. Find the mean and variance of the execution time of this program if it is scheduled to run on Computer 2.
e. Find the (unconditioned) mean and the (unconditioned) variance of the execution time.

Respuesta :

Answer:

a) the probability that the program needs more than 2.5 billion cycles to complete is 0.5.

b) the probability that the program takes less than two seconds to execute, given that it is scheduled to run on Computer 2 is 0.75.

c) the mean and variance of the execution time of the program if it is scheduled to run on Computer 1 are 2.5 seconds and 1.25 s² respectively.

d) the mean and variance of the execution time of the program if it is scheduled to run on Computer 2 are 1.25 seconds and 0.3125 s² respectively

e) the (unconditional) Mean and (unconditional)variance of the execution time are 1.875 seconds and 0.703 s²  respectively

Step-by-step explanation:

Ver imagen akindeleot
Ver imagen akindeleot
Ver imagen akindeleot