E(§)=0*P(§=0)+1*P(§=1)+2*P(§=2)+3*P(§=3)
=0*(1/10)+1*(2/10)+2*(3/10)+3*(4/10)
=0+2/10+6/10+12/10
=20/10
=2