Finding the value of a constant given a probability density function

975 Views Asked by At

So we're given the following information:

Let X be a random variable with probability density function:

$f(x)=c(1-x^2)$ if $-1<x<1$
$f(x)=0 $ otherwise

Find the value of c

How do I work this out?