A continuous random variable X has the following density function:
f(x) = x, 0<=x<=1, = (2-x), 1<x<=2.
f(x) = x, 0 less than and equal to "x" less than and equal to 1, = (2-x), 1 less than x less than or equal to 2.
Full equation on top does not read out on this web site?? See written out problem for clarification.
Note: <= means less than AND equal to
The solution gives the details of deriving the mean, variance and median of a continuous random variable.