Answer:
The expected cost is 152
Explanation:
Recall that since Y is uniformly distributed over the interval [1,5] we have the following probability density function for Y
if
and 0 othewise. (To check this is the pdf, check the definition of an uniform random variable)
Recall that, by definition

Also, we are given that
. Recall the following properties of the expected value. If X,Y are random variables, then

Then, using this property we have that
.
Thus, we must calculate E[Y] and E[Y^2].
Using the definition, we get that
![E[Y] = \int_(1)^(5)(y)/(4) dy =(1)/(4)\left(y^2)/(2)\right|_(1)^(5) = (25)/(8)-(1)/(8) = 3](https://img.qammunity.org/2021/formulas/mathematics/college/aolcgmghmozc7zrgguiwly12jw6e12xztt.png)
![E[Y^2] = \int_(1)^(5)(y^2)/(4) dy =(1)/(4)\left(y^3)/(3)\right|_(1)^(5) = (125)/(12)-(1)/(12) = (31)/(3)](https://img.qammunity.org/2021/formulas/mathematics/college/c06phkteww9v36z16a3pgb4yxebk95tt2g.png)
Then
