We are given that the probability density function (PDF) of $X$ is
$$f_X(x):=\begin{cases} cx^2& |x|\leq1\\ 0&\text{otherwise}\end{cases}.$$
Now, I find first the constant $c.$ What I got is $3/2$ (I don't know if this is correct.)
Then I tried to solve for $E(X).$ What I got is $0.$
Is this possible or is the value of my constant wrong?