If f(x)= ^2π x1+π ^x, then (f(x)+f(-x))dx is equal to
A. \(\frac{x}{2}-\frac{\sin \pi x}{2\pi }+c\), (where c is a constant of integration)
B. \(\frac{1}{2}x-\frac{\sin 2\pi x}{4\pi }+c\), (where c is a constant of integration)
C. \(\frac{x}{2}-\frac{\cos \pi x}{2\pi }+c\), (where c is a constant of integration)
D. \(\frac{1}{1+{\pi }^{x}}+\frac{{\cos }^{2}\pi x}{2\pi }+c\), (where c is a constant of integration)