How to Calculate the Factorial of Avogadro Number?

  • Thread starter Thread starter ananthu017
  • Start date Start date
  • Tags Tags
    Factorial
Click For Summary
Calculating the factorial of Avogadro's number (approximately 6.022 x 10^23) is impractical due to its immense size, which exceeds 6.02 x 10^23 digits. Stirling's approximation is recommended for estimating such large factorials, providing a formula that simplifies calculations. The approximation indicates that n! can be represented as e^(n(ln(n) - 1)), which is useful for understanding the scale of the number. Users have shared experiences with large factorials, noting significant computational time even for smaller values like 1,000,000!. For practical purposes, using Stirling's approximation is the most feasible approach to estimate the factorial of Avogadro's number.
ananthu017
Messages
4
Reaction score
0
can anyone explain to me how to find the factorial of avogadro number ? what is its value ?
 
Physics news on Phys.org
It's such a large number that you might be able to justify using Stirling's approximation.
 
Google for Stirling's approximation.
 
It's Huuuuuuuuuuuuuuuuuuuuge!
 
I can tell you that the number of base 10 digits is > 6.02x10^23. You can't calculate this. Recently I have been coding my own big number c++ library. I often test it on 1,000,000!. It takes 5 minutes, and produces somewhere around 5 million digits. I doubt you are asked to calculate the exact value of 6.02E23!. If you want an approximation use Stirling approx. I use it in my e-calculator to find how many terms I need to sum to get the the desired accuracy.

ln(n!) = n(ln(n) - 1) Note this is only a good approximation.
This therefore means that n! = en(ln(n) - 1)) (approximately)
 
http://www.wolframalpha.com/ gives
10^(10^(10^1.400640864781007))

assumes usual metric value of
6.022141×10^23 mol^(-1) (reciprocal moles)
 
Last edited:

Similar threads

Replies
25
Views
2K
  • · Replies 36 ·
2
Replies
36
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 30 ·
2
Replies
30
Views
3K
Replies
1
Views
2K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K