plot x*exp(-x) from 0 to 10