If you have the probability density function of

$\displaystyle p(x)=Cxe^{-x/2}$ where 0<x<3. I have to find the constant C, the most probable outcome, and the mean outcome. I've tried, and gotten C=1, but then when I try to integrate it to get the mean, I get 3.05, which I assume is wrong.