A function \(f(x)\) is defined as
\(f(x)=\left\{\begin{array}{ll} 0, & \text { for}\ \ x \lt 0 \\
1-\dfrac{x}{h}, & \text { for}\ \ 0 \leq x \leq h, \\
0, & \text { for}\ \ x \gt h \end{array}\right.\)
where \(h\) is a constant.
- Find the value of \(h\) such that \(f(x)\) is a probability density function. (2 marks)
--- 6 WORK AREA LINES (style=lined) ---
- By first finding a formula for the cumulative distribution function, sketch its graph. (2 marks)
--- 7 WORK AREA LINES (style=lined) ---
- Find the value of the median of the probability density function \(f(x)\) . Give your answer correct to 3 decimal places. (2 marks)
--- 10 WORK AREA LINES (style=lined) ---