Let X denote the random variable for the diamonds cards ∴X=0,1,2.
Here n=2, p=14, q=1−p=34.
X012TotalP(X)2C0(14)∘ (34)2=9162C1(14)1(34)2−1=6162C2(14)2(34)2−2=116X P(X)0616216816x2 P(X)06164161016
Mean, E(x)=∑XP(X)=816 or 12,
Var (X)=∑X2P(X)−(Mean)2=1016−14=616 or 38.