A program is divided into 3 blocks that are being compiled on 3 parallel computers. Each block takes an Exponential amount of time, 5 minutes on the average, independently of other blocks. The program is completed when all the blocks are compiled. Compute the expected time it takes the program to be compiled.

Relax

Respuesta :

Answer:

The answer is "15 minutes".

Explanation:

The time of compilation for one block with all three computers would be denoted by the [tex]Y_1,Y_2 and Y_3[/tex].

Of all them.

[tex]Y_i \sim Exp(\frac{1}{5}) \ for \ j = \ 1,\ 2,\ and\ 3[/tex] and the average:

[tex]=\frac{1}{\lambda } \\ \\=5[/tex]

Let,

[tex]Z=Y_1+Y_2+Y_3, \\\\ then \ Z \sim \ Gamma ( \alpha =3, \ \ \lambda =\frac{1}{5})[/tex]

since independent of the total sum and the gamma distribution of parameters, [tex]\alpha = \ n \ \ and \ \lambda[/tex] are accompanied by exponential variables.  

Now the predicted value of Z can be found.

[tex]\bold{Formula:} \\\\ \to E(Z)=\frac{\alpha}{\lambda }\\\\[/tex]

[tex]=\frac{3}{\frac{1}{5}}\\\\= 3 \times 5\\\\= 15\\[/tex]

Therefore, it takes 15 minutes for the program to be compiled.