Factorial of Large Numbers
The might of the 50g is demonstrated. It think it is the first time I typed a 181 digit number. Program for the 39gii is included.
Eddie
Just FYI, all factorials you mentioned in your blog may be calculated directly on a WP 34S in DBLON mode :-)
More importantly, the 34S includes a Log Gamma function which effectively calculates the sum of the logarithms directly.
- Pauli
Quote:
It think it is the first time I typed a 181 digit number.
Do it on the 50G emulator, then "Save Object". Run HPUserEdit, then import it with "File" -> "Import" and then you can copy the number. (You can also save it as a variable on the real 50G and copy it to a PC with the SD card, and import into HPUserEdit).
Thanks for your blogs, they're always interesting.
So does the HP-50g, but the wp 34S is more accurate:
001 LBL A
002 INC X
003 LNGamma
004 # 010
005 LN
006 /
007 IP
008 RCL L
009 FP
010 10^x
011 END
111 A --> 1.76295255109
x<>y --> 180.
On the HP 50g,
111 ENTER
<< 1. + LOGGAMMA 10.
LN / DUP IP SWAP FP
ALOG
>>
EVAL
will return
180.
1.76295255248
Gerson.
Quote:
Do it on the 50G emulator, then "Save Object". Run HPUserEdit, then import it with "File" -> "Import" and then you can copy the number. (You can also save it as a variable on the real 50G and copy it to a PC with the SD card, and import into HPUserEdit).
Thanks for your blogs, they're always interesting.
Thank you Bart. Copying the number is a lot easier than typing the number out.
Update:
Bart, I have posted another entry rearding factorials, basically an introduction to factorials - inspired by my dad. (no programs this time though)
Edited: 23 Oct 2012, 9:28 a.m.
Learning the upgraded WP 34S on my list of things to do.