Expectation of Bernoulli Distribution

Theorem
Let $X$ be a discrete random variable with the Bernoulli distribution with parameter $p$.

Then the expectation of $X$ is given by:
 * $E \left({X}\right) = p$