User Forum    :: Powered by YaBB
  Ā« MIDI-OX User Forum - e to 400 decimal places Ā»
Welcome, Guest. Please Login or Register.
Jan 16th, 2021, 9:46am


Home Home Help Help Search Search Members Members Login Login Register Register


   MIDI-OX User Forum
   HP16C Emulator
   HP16C Programs
(Moderator: Jamie OConnell)
   e to 400 decimal places
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: e to 400 decimal places  (Read 2485 times)
RickN
Member
**



HP Calculator Enthusiast

   


Gender: male
Posts: 45
e to 400 decimal places
« on: Oct 26th, 2005, 11:28am »
Quote Quote Modify Modify

To learn to program the HP-16C back in 1982, I wrote a program for it that approximates e (2.718...) to 400 decimal places.    
http://home.comcast.net/~rick314/hp16c/HP16C_e1.jpg and http://home.comcast.net/~rick314/hp16c/HP16C_e2.jpg are scans of the original 1982 handwritten program.  http://home.comcast.net/~rick314/hp16c/e400_050902.txt is the target value of frac(e), and http://home.comcast.net/~rick314/hp16c/e400_050902.16c is a program file for Jamie's emulator.  (Clicking that link should start your installed emulator with the program ready to run.)  Because the emulator has more memory than the calculator, all manual setup is done in the program and just execute GSB A to calculate e, then R/S repeatedly to see each set of 8 result digits.  It is interesting to watch it run with the Stack, Program, and Register windows open along with "Execute at Maximum Speed".  The calculation is done when LastX counts down to 1.
 
(9/16/13 update: fixed broken file links)
« Last Edit: Sep 16th, 2013, 3:49pm by RickN » IP Logged
Jamie OConnell
Administrator
*****






   
WWW Email

Gender: male
Posts: 2006
Re: HP-16C program: e to 400 decimal places
« Reply #1 on: Oct 26th, 2005, 2:24pm »
Quote Quote Modify Modify

Thanks for sharing that.
IP Logged

--Jamie
Music is its own reward.

Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »


MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.