Hi, I'm not sure if this post is in the right place, but it's a university level question anyhow...

Random variable X has a cumulative distribution function (CDF) given by:

$\displaystyle F_{X}(x) = \left\{\begin{matrix}0\; \; \; \; x\leqslant 0\\ x/2\; \; \; \; x\,\epsilon \: (0,2)\\1\; \; \; \; x\geq2\end{matrix}\right.$

What is its mean value?

I'd seriously appreciate some help on this one - I'm not statistically minded at all and I'm finding the whole pdf cdf thing really confusing.

Cheers and thanks in advance!

Rorosingsong