New Blog: Factorials
#1

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

#2

Just FYI, all factorials you mentioned in your blog may be calculated directly on a WP 34S in DBLON mode :-)

#3

More importantly, the 34S includes a Log Gamma function which effectively calculates the sum of the logarithms directly.

- Pauli

#4

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.
#5

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.

#6

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.

#7

Learning the upgraded WP 34S on my list of things to do.



Possibly Related Threads...
Thread Author Replies Views Last Post
  New HP 35S Programs posted on my blog Eddie W. Shore 2 1,269 06-08-2013, 03:47 PM
Last Post: Glenn Shields
  New Blog Post: Length of a Polynomial Segment Eddie W. Shore 1 941 01-17-2013, 08:56 PM
Last Post: Namir
  New Blog Entries Eddie W. Shore 0 777 11-11-2012, 04:21 PM
Last Post: Eddie W. Shore
  HHC 2012 Blog Entries Eddie W. Shore 8 1,925 10-01-2012, 05:15 AM
Last Post: rgray
  New Blog Entry: Honnold Mudd Library, World Series, and a HP 15C Program Eddie W. Shore 0 741 09-30-2012, 06:05 PM
Last Post: Eddie W. Shore
  New Blog Entry with HP 50g: Cartesian Coordinates to Pixel (Screen) Coordinates Eddie W. Shore 0 687 09-13-2012, 10:28 PM
Last Post: Eddie W. Shore
  Blog Entry: HP 71B Eddie W. Shore 6 1,825 06-06-2012, 02:35 PM
Last Post: Pete Wilson
  New Blog Entry: Elastic and Inelastic Collisions Eddie W. Shore 0 699 03-21-2012, 11:34 PM
Last Post: Eddie W. Shore
  New Blog Up: Projectile Motion Eddie W. Shore 15 3,045 03-18-2012, 09:00 AM
Last Post: Crawl
  New Blog Entry (repeated functions) is now up Eddie W. Shore 0 635 02-08-2012, 10:10 PM
Last Post: Eddie W. Shore

Forum Jump: