My question is regarding the following derivation: First the problem itself as stated in the book:
Find the entropy $S(E,V,N)$ of an ideal gas of $N$ classical monatomic particles, with a fixed total energy $E$, contained in a $d$ dimensional box of volume $V$. Deduce the equation of state of this gas, assuming that $N$ is very large.
They write on page 41 (in the solution to problem 3.1) that the entropy is given by: $$S(E,V,N;\Delta E)=k\ln\bigg(\bigg( \Omega(E,V,N;\Delta E\bigg)/(h^{dN}N!)\bigg)$$
To calculate $\Omega$ we express it as $\Omega = \Delta E \partial \nu /\partial E$.
Now they derived the equality: $$\nu(E,V,N) = \frac{V^N (2\pi m E)^{dN/2}}{(dN/2)\Gamma(dN/2)}$$
On page 42 they get $$S(E,V,N;\Delta E) = k\bigg\{ N \ln \bigg( \frac{V(2\pi m E)^{d/2}}{h^d}\bigg) -\ln \bigg[ \Gamma(dN/2) \bigg] - \ln(N!) + \ln(\Delta E/E) \bigg\}$$
Which I concur to.
But then comes the approximation for large $N$ with Stirling approximation, and I don't see how do they approximate $\ln ( \Gamma(dN/2))$, is $dN/2$ for large $N$ an integer or non-integer? if it's an integer then $\Gamma(dN/2) = (dN/2)!$ and we can use Stirling's approximation, but if not then I don't see how to approximate $\ln(\Gamma(dN/2))$.
In the end they receive the following approximation for $N \to \infty$: $$S(E,V,N) \approx Nk\bigg\{ \ln\bigg[ \frac{V}{N}\bigg(\frac{4\pi m E}{dNh^2}\bigg)^{d/2}\bigg] +\frac{d+2}{2}\bigg\}$$
I don't see how did they get this expression.
Anyone care to elaborate on the calculations here?
Thanks.