I'm asking Mathematica to compute:
Integrate[
Module[{r = {-x, -y, z}}, r/Norm[r]^3],
{x, -a/2, a/2},
Assumptions -> Elements[y, Reals] && z > 0 && a > 0]
But the result seems to completely ignore my assumptions (I also tried Assuming):
What am I doing wrong?