E(X)=∫xf(x)dx E(X2)=∫x2f(x)dx We call this a moment E(Xn)=∫xnf(x)dx If values are discrete E(g(X))=∑(g(x)p(x))