E(g(X)) = Σ g(x) · p(x) - expectation of a function PYQs | Prasnya