(12C) Stirling's approximation
|
10-24-2017, 05:35 AM
(This post was last modified: 10-24-2017 09:15 AM by Gamo.)
Post: #1
|
|||
|
|||
(12C) Stirling's approximation
For when you need answer from Decimal Factorial with your HP 12C
From Wikipedia: In mathematics, Stirling's approximation (or Stirling's formula) is an approximation for factorials. It is a good-quality approximation, leading to accurate results even for small values of n. Program: Code:
Example: Clear Register f [REG] [R/S] result 0 (Initialize) 2.34! ------> 2.34 [R/S] result 2.7976...... 4.32! ------> 4.32 [R/S] result 39.2945.... 5.43! ------> 5.43 [R/S] result 254.0337... Gamo |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(12C) Stirling's approximation - Gamo - 10-24-2017 05:35 AM
RE: (12C) Stirling's approximation - Gamo - 11-04-2017, 05:26 AM
RE: (12C) Stirling's approximation - Dieter - 11-04-2017, 02:01 PM
RE: (12C) Stirling's approximation - Gamo - 11-05-2017, 07:39 AM
RE: (12C) Stirling's approximation - Dieter - 11-06-2017, 01:41 PM
|
User(s) browsing this thread: 1 Guest(s)