The density function of a continuous variable x is given by
f(x) =x; 0≤x<1 and f(x) = 2-x; 1≤x<2
a) Find p(1/2≤x≤3/2)
b) Find the median and quartiles of this distribution
The median and quartiles of a probability density function are found.