x^2+2xcos (\pi x)+\cos^2 (\pi x) dx