2p1+p2=1
Eξ=(p1+2p2+3p1)=p1+2(1-2p1)+3p1=2
E(ξ²)=p1+4p2+9p1=10p1+4p2
D(ξ)=10p1+4p2-(2)²=0.5
10p1+4p2=4.5
5-5p2+4p2=4.5
p2=0.5
p1=0.25
p1+p2=0.75
2p1+p2=1
Eξ=(p1+2p2+3p1)=p1+2(1-2p1)+3p1=2
E(ξ²)=p1+4p2+9p1=10p1+4p2
D(ξ)=10p1+4p2-(2)²=0.5
10p1+4p2=4.5
5-5p2+4p2=4.5
p2=0.5
p1=0.25
p1+p2=0.75