3 bad apples, 15 good apples.Let X be no of bad apples Then P(X=0)=(218)(215)=153105P(X=1)=(218)(13)×(115)=15345P(X=2)=(218)(23)=1533E(X)=0×153105+1×15345+2×1533=15351=31Var(X)=E(X2)−(E(X))2=0×153105+1×15345+4×1533−(31)2=15357−91=15340