4. The random variable \(X\) has probability density function \(\mathrm { f } ( x )\) given by
$$f ( x ) = \left\{ \begin{array} { c c }
k \left( 3 + 2 x - x ^ { 2 } \right) & 0 \leqslant x \leqslant 3
0 & \text { otherwise }
\end{array} \right.$$
where \(k\) is a constant.
- Show that \(k = \frac { 1 } { 9 }\)
- Find the mode of \(X\).
- Use algebraic integration to find \(\mathrm { E } ( X )\).
By comparing your answers to parts (b) and (c),
- describe the skewness of \(X\), giving a reason for your answer.