设随机变量x~p(λ),且P(x=0)=1/2,求λ的值?