Integrate[(10-x)Exp[-2x^2],{x,0,10}]