P(x=0)=0.9³=0.729
P(x=1)=3×0.1×0.9²=0.243
P(x=2)=3×0.9×0.1²=0.027
P(x=3)=0.1³=0.001
∴E(x)
=0+0.243+2×0.027+3×0.001
=0.298