Ah, my bad, I should have specified a flat disk instead of a sphere, but I get your point. The reason I didn't start with integral in the first place was to show that there was that I didn't intend to calculate the energies, but now that you mention it if I consider the extra term as an integral...