If XXX is a Bernoulli random variable with P(X=1)=pP(X=1) = pP(X=1)=p, what is E[X]E[X]E[X]?
1
p
p^2
1-p