integrate 2x + cos x dx from x=1 to 3