Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2021/ia/paper-2/4f/solution

Normalization of the probability density function gives
so
The expected value is
The second moment is
Therefore the variance is
For the median ,
so

New to topics? Read the docs here!