"A Penny for your thoughts" on the HP50g - Printable Version +- HP Forums (https://archived.hpcalc.org/museumforum) +-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html) +--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html) +--- Thread: "A Penny for your thoughts" on the HP50g (/thread-247462.html) "A Penny for your thoughts" on the HP50g - Tom Grydeland - 07-31-2013 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 Re: "A Penny for your thoughts" on the HP50g - Gerson W. Barbosa - 07-31-2013 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. Re: "A Penny for your thoughts" on the HP50g - Tom Grydeland - 07-31-2013 D'oh! Thanks! Re: "A Penny for your thoughts" on the HP50g - Les Koller - 08-01-2013 Just for kicks, after I entered YOUR numbers, I got an approx. FV of 541 thousand, not 514 thousand. Typo?