I am finding difficulty with the following couple of problems
a) show that $$\int_{-\infty}^\infty \frac{\cos(\pi x)}{2x-1} \ne\frac{\pi}{2}$$
I've been trying to do this over a semi-circle, but keep getting the answer -pi instead of -pi/2. It is correct that the arc integrates to 0 right?
Any help would be greatly appreciated. Thank you!