근사식을 찾으신다면, Stirling's approximation이 있습니다.
ln N! ≒ N ln N - N
http://www.umr.edu/~wlf/Math/Stirlings.html
--
김승범
/* 메일 질문에는 답하지 않습니다. 질문은 뉴스그룹에 이어서 해주세요. */
=================================================
"Kim Sungbom" <musi...@bawi.org> wrote in message
news:3A82CE67...@bawi.org...
오차가 문제된다면 보다 정확한 근사치를 쓰면 어떨까요?
N! = sqrt(2 PI N) N^N exp[-N + 1/(12N) + O(1/N^2)] 이므로
(http://schof.colorado.edu/~bart/book/stirling.htm)
이것의 log를 취해서 쓰면 어떨까요?
ln N! ~ N ln N - N + 1/2 ln (2 PI N) + 1/(12N)
를 쓰면 되겠네요.
--
박종대
--
The Ultimate Question is....
W.H.A.T.D.O.Y.O.U.G.E.T.I.F.Y.O.U.M.U.L.T.I.P.L.Y.S.I.X.B.Y.N.I.N.E.....
- "The Restaurant at the End of the Universe", D. Adams -