2.I.4F

Probability
Part IA, 2004

The random variable XX has probability density function

f(x)={cx(1x) if 0x10 otherwise f(x)= \begin{cases}c x(1-x) & \text { if } 0 \leqslant x \leqslant 1 \\ 0 & \text { otherwise }\end{cases}

Determine cc, and the mean and variance of XX.