"A Penny for your thoughts" on the HP50g
#1

Hello,

My apologies if this has been brought up previously. I have tried searching the archives for TVM, penny and HP50g, but with no obviously relevant hits.

The brilliant paper "Mathematics written in sand" by W. Kahan contains the example TVM problem "A penny for your thoughts", wherein it is computed the value of a penny deposited every second for a year into an account of 10% annual interest, compounded every second.

The correct answer, according to the paper, is 331667.0067 dollars. This is also the result obtained by Tommi's TVM solver program for the HP42s posted on this site in 2005 (and this problem is one of the examples used in that posting.)

The HP50g TVM application gives me the answer 541877.3438, which is so far off the mark that I suspect I must be doing something wrong.

I'm setting variables as follows:

n = 3600*24*365 = 31536000
I%YR = 10/n = 3.17097919838e-6
PV = 0
PMT = -0.01
P/YR = 1
End mode

Solving for FV gives the above 514877.3438 as result.

Tips?

--Tom G

#2

I fear you have made a small mistake. From Prof. Kahan's article, page 15/49:

 n := 60*60*24*365 = 31,536,000 sec. per year.
i := 10/n = 0.000 000 317 097 9198 % per sec.
PV := 0
PMT := -0.01 = one cent per sec. to the bank.
that is,

i := 3.17 097 9198e-7 % per second, not 3.17 097 9198e-6 as you have used.


This will give you 331 667.006 691 dollars.

Gerson.

#3

D'oh!

Thanks!

#4

Just for kicks, after I entered YOUR numbers, I got an approx. FV of 541 thousand, not 514 thousand. Typo?



Possibly Related Threads…
Thread Author Replies Views Last Post
  hp50g screen weird line Sok-khieng Chum Hun 2 1,569 09-10-2013, 08:11 AM
Last Post: Sok-khieng Chum Hun
  Documentation about Hp50g / 49g+ / 48gII and wikis Pier Aiello 9 2,850 09-10-2013, 04:22 AM
Last Post: Software49g
  Is there a HP50g emulator for Linux? Matti Övermark 2 1,484 07-03-2013, 07:40 AM
Last Post: Matti Övermark
  HP50G advanced applications for mathematics CompSystems 0 1,138 06-17-2013, 08:38 AM
Last Post: CompSystems
  HP50g rebind stat key Chris Smith 1 1,117 05-26-2013, 06:21 PM
Last Post: Software49g
  How I use my HP50G at work. David Bengtson 7 2,385 05-06-2013, 02:57 PM
Last Post: Ingo
  HP50g emulator Richard Berler 1 1,151 03-24-2013, 02:43 PM
Last Post: aurelio
  A Non-Graphing Calculator with CAS? Thoughts...? mr-scorpio 1 1,004 02-17-2013, 01:02 AM
Last Post: Les Koller
  Focus on the HP50g Mic 13 3,433 01-22-2013, 09:18 PM
Last Post: Ronald Williams
  HP50g and rechargeables Chris Smith 11 2,854 01-07-2013, 02:43 AM
Last Post: Derek Walker (UK)

Forum Jump: