where we assumed that in a shell of thickness d r there are N / V 4 π r dr particles. This is a mean field approximation; the position of the particles is averaged. In reality the density close to the particle is different than far away as can be described by a pair correlation function. Furthermore, it is neglected that the fluid is enclosed between walls. Performing the integral we get: