Question: Stirling's approximation for large factorials is given by: n! = 2n(n/e)n Use the formula for calculating 20!. Compare the result with the true value obtained

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).

Step by Step Solution

3.34 Rating (166 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Script file clear clc factor... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

652-B-F-F-M (536).docx

120 KBs Word File

Students Have Also Explored These Related Finance Questions!