Stirling's approximation for large factorials is given by: n! = 2n(n/e)n Use the formula for calculating 20!.

Question:

Stirling's approximation for large factorials is given by:
n! = 2πn(n/e)n
Use the formula for calculating 20!. Compare the result with the true value obtained with MATLAB's built-in function factorial by calculating the error (Error = (TrueVal-ApproxVal)/TrueVal).
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: