I know how to calculate the variance of a set of numbers but not of a probability density function. I'm guessing it requires some calculus (which I'm not too great with). Could someone give me a few hints to get through this one?

f(x) = ce^(2x), 0 < x < 1

Determine Var(x)