Find the distribution function of the random variable X when probability density is given by $f\left(x\right)=\left\{\begin{array}{c}\begin{array}{cc}x& for0x1\\ 2-x& for1\le x2\\ o& elsewhere\end{array}\end{array}\right\}$ RTU B.Tech Statistics and Probability Theory 2013