The time, \(T\) minutes, taken by people to complete a test has probability density function given by
$$\mathrm{f}(t) = \begin{cases}
k(10t - t^2) & 5 \leq t \leq 10, \\
0 & \text{otherwise},
\end{cases}$$
where \(k\) is a constant.
- Show that \(k = \frac{3}{250}\). [3]
- Find \(\mathrm{E}(T)\). [3]
- Find the probability that a randomly chosen value of \(T\) lies between \(\mathrm{E}(T)\) and the median of \(T\). [3]
- State the greatest possible length of time taken to complete the test. [1]