Find the first term of the asymptotic representation of \[
n!=\int _0^\infty \exp (-t)t^{a-1}\,dt \] for large \(n\). (This
approximation is called Stirling’s formula.)
What is the order of the error term and how can this be rigorously
justified? (Invoke the appropriate theorem.)