3 The monthly demand for a product, \(X\) thousand units, is modelled by the random variable \(X\) with probability density function given by
$$f ( x ) = \begin{cases} a x & 0 \leqslant x \leqslant 1
a ( x - 2 ) ^ { 2 } & 1 < x \leqslant 2
0 & \text { otherwise } \end{cases}$$
where \(a\) is a positive constant. Find
- the value of \(a\),
- the probability that the monthly demand is at most 1500 units,
- the expected monthly demand.