D(X)=2∫x^2*1/2e^-xdx
=-x^2e^-x-2∫xde^-x
= -x^2e^-x-xe^-2∫e^-xdx
=-x^2e^-x-xe^-2e^-x
=(-x^2-2x-2)e^-x
上下限改为+∞,0
把上下限代入,得D(X)=-2
D(X)=2∫x^2*1/2e^-xdx
=-x^2e^-x-2∫xde^-x
= -x^2e^-x-xe^-2∫e^-xdx
=-x^2e^-x-xe^-2e^-x
=(-x^2-2x-2)e^-x
上下限改为+∞,0
把上下限代入,得D(X)=-2