设随机变量X的取值分别为-1,0,1,2,相应的概率分别为0.1,0.2,K,0.4,求K