We are given: - \(Y \sim Normal(3,1)\) β so \(E(Y) = 3\) - \(W \sim Normal(1,2)\) β so \(E(W) = 1\) - \(X \sim Bernoulli(0.9)\) β \[ P(X=1)=0.9,\quad P(X=0)=0.1 \] Define: \[ S = XY + (1 - X)W \] This means: - When \(X=1\), \(S = Y\) - When \(X=0\), \(S = W\) So the expectation is: \[ E(S) = E(S \mid X=1)P(X=1) + E(S \mid X=0)P(X=0) \] Now compute: \[ E(S \mid X=1) = E(Y) = 3 \] \[ E(S \mid X=0) = E(W) = 1 \] Therefore: \[ E(S) = 3(0.9) + 1(0.1) \] \[ E(S) = 2.7 + 0.1 = 2.8 \]
| Year | Price of Apple | Quantity of Apple | Price of Banana | Quantity of Banana |
| 2010 | 1 | 100 | 2 | 50 |
| 2011 | 1 | 200 | 2 | 100 |
| 2012 | 2 | 200 | 4 | 100 |
, 0, π₯ β₯ 0 otherwise , 