integrate (x^2 + 1/x^2)/2 from 1 to 2