Hi guy's

I have been given this question.

The Random variable X follows the distribution given by the density

f(x) = cxe^(-x^2/2)

determine c and E(x)

I've taken the integral of cxe^(-x^2/2) between 0 and infinity and tried to solve for 1.

But I'm getting the result of the intergral as C = 1

Is this right?

regards