7
\includegraphics[max width=\textwidth, alt={}, center]{7333c047-edad-4385-b3f8-248e8725cfcb-3_412_718_1037_715}
A random variable \(X\) has probability density function given by
$$f ( x ) = \begin{cases} k \sin x & 0 \leqslant x \leqslant \frac { 2 } { 3 } \pi
0 & \text { otherwise } \end{cases}$$
where \(k\) is a constant, as shown in the diagram.
- Show that \(k = \frac { 2 } { 3 }\).
- Show that the median of \(X\) is 1.32 , correct to 3 significant figures.
- Find \(\mathrm { E } ( X )\).