6. The continuous random variable \(X\) has probability density function \(\mathrm { f } ( x )\) given by
$$f ( x ) = \left\{ \begin{array} { c c }
\frac { 2 x } { 9 } & 0 \leqslant x \leqslant 1
\frac { 2 } { 9 } & 1 < x < 4
\frac { 2 } { 3 } - \frac { x } { 9 } & 4 \leqslant x \leqslant 6
0 & \text { otherwise }
\end{array} \right.$$
- Find \(\mathrm { E } ( X )\).
- Find the cumulative distribution function \(\mathrm { F } ( x )\) for all values of \(x\).
- Find the median of \(X\).
- Describe the skewness. Give a reason for your answer.
\includegraphics[max width=\textwidth, alt={}, center]{caaa0133-5b13-4ca7-8e65-8543327c33fd-12_104_61_2412_1884}