∫[0,ln2]xe^(-x)dx
=-xe^(-x)-e^(-x) [0,ln2]
=[-ln2 e^(-ln2)-e^(-ln2)]-[0-1]
=[-(1/2)ln2-1/2]+1
=-(1/2)ln2+1/2