The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

SUM function on WP-34S
Message #1 Posted by Thomas Scott on 18 Apr 2012, 11:32 a.m.

Perhaps I'm doing something wrong, but I do not get the correct answers using the SUM function (under the STAT menu)for sum of x & y. I'm using version 2769.

Tom Scott

      
Re: SUM function on WP-34S
Message #2 Posted by Walter B on 18 Apr 2012, 1:05 p.m.,
in response to message #1 by Thomas Scott

Thanks for reporting. To handle your message properly it would be quite helpful to *know* what you did and what you got. TIA d:-)

            
Re: SUM function on WP-34S
Message #3 Posted by Nigel J Dowrick on 18 Apr 2012, 1:45 p.m.,
in response to message #2 by Walter B

I'm running build 2747 and I also have a problem. Here are the number that I entered:

Clear Sigma
1 {enter) 1 Sigma+
2 {enter} 4 Sigma+
3 {enter} 9 Sigma+
4 {enter} 16 Sigma+
5 {enter} 25 Sigma+

The Sums menu reports the sum of X to be 55 and the sum of Y to be 15 (correctly). However, SUM from the STAT menu (which I hadn't noticed before!) returns the numbers -8.22E-279 and -8.33e-80 to the x and y registers.

Nigel (UK)

                  
Re: SUM function on WP-34S
Message #4 Posted by Walter B on 18 Apr 2012, 1:50 p.m.,
in response to message #3 by Nigel J Dowrick

Thanks for reporting. I already have an idea what caused this. Has to be repaired for sure :-)

                        
Re: SUM function on WP-34S
Message #5 Posted by Walter B on 18 Apr 2012, 1:57 p.m.,
in response to message #4 by Walter B

For build 2823, the emulator returns correct results. Please update :-)

                              
Re: SUM function on WP-34S
Message #6 Posted by Nigel J Dowrick on 18 Apr 2012, 4:00 p.m.,
in response to message #5 by Walter B

I've just updated my calculator to build 2823 and the problem remains. The same input (or indeed any input that I have tested) causes SUM to return the same two strange numbers as in my previous post.

Nigel (UK)

                                    
Re: SUM function on WP-34S
Message #7 Posted by Walter B on 18 Apr 2012, 4:46 p.m.,
in response to message #6 by Nigel J Dowrick

We are working on it ...

      
Re: SUM function on WP-34S - Fixed!
Message #8 Posted by Marcus von Cube, Germany on 18 Apr 2012, 4:49 p.m.,
in response to message #1 by Thomas Scott

I can't reproduce it here on the emulator. I have to test on the device.

Edit: Outch, that hurts! It's a device only problem. Now I need to start my hardware debugger again. :-(

Edit again: I think I fixed it. :-)

Edited: 18 Apr 2012, 5:16 p.m.

            
Re: SUM function on WP-34S - Fixed!
Message #9 Posted by Nigel J Dowrick on 18 Apr 2012, 5:42 p.m.,
in response to message #8 by Marcus von Cube, Germany

Works for me! Thank you (again). Time for bed!

Nigel (UK)

            
Re: SUM function on WP-34S - Fixed!
Message #10 Posted by fhub on 18 Apr 2012, 5:57 p.m.,
in response to message #8 by Marcus von Cube, Germany

Quote:
Edit again: I think I fixed it. :-)
Well Marcus, then I hope you have time for fixing me? ;-)

It has also to do with SUM, because after reading this thread here I was more than confused!

I remember from WP34s V2 that there were library files sum/product.wp34s which had functions to build the sum/product looping over a user-defined function. And I still can find this code in V3, now it's in XROM and combined into prodsum.wp34s.

But in this thread I read now that SUM just return Sx and Sy of the statistics registers!?

So I checked the manual and found the description for the SUM command (but only for Sx/Sy), but no PRD, PROD or PRODUCT at all.

Now I'm really confused: what has happend to these commands from V2?
Have they been removed in V3?
Or did they get any new name that I just haven't found yet?

Franz

Edited: 18 Apr 2012, 5:59 p.m.

                  
Re: SUM function on WP-34S - Fixed!
Message #11 Posted by Paul Dale on 18 Apr 2012, 6:05 p.m.,
in response to message #10 by fhub

Look for capital sigma and pi in the manual.

- Pauli

                        
Re: SUM function on WP-34S - Fixed!
Message #12 Posted by fhub on 18 Apr 2012, 6:10 p.m.,
in response to message #11 by Paul Dale

Quote:
Look for capital sigma and pi in the manual.
Oh my god, how could I overlook this!?
But the name SUM was so obviously pointing into this direction ...

Thanks,
Franz


[ Return to Index | Top of Index ]

Go back to the main exhibit hall