(25) (25C) Accurate Gamma Function and Factorials

09082020, 05:35 PM
Post: #1




(25) (25C) Accurate Gamma Function and Factorials
Extracts from HP Program VA252  HP25 Gamma Function and Factorials
Keywords: Gamma function, factorial, Stirling’s formula, programmable calculator, RPN, HP25, HP25C Introduction
This gives results correct to 9 places over the whole interval, and even to ~10 places for many arguments. To compute Gamma(x) for other intervals, repeated multiplication or division may be used. See Example 2. Also, as a side benefit the program can be easily modified to quickly compute approximate factorials x! for real x (not just integer), 1 <= x <= 69.957. The accuracy begins at ~ 4 places for x = 1 but steadily improves to ~ 9 places as x grows bigger. See Example 3. [...] Link to PDF: HP Program VA252  HP25 Gamma Function and Factorials V. All My Articles & other Materials here: Valentin Albillo's HP Collection 

« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)