SUM function on WP-34S
#1

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

#2

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

#3

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)

#4

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

#5

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

#6

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)

#7

We are working on it ...

#8

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.

#9

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

Nigel (UK)

#10

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.

#11

Look for capital sigma and pi in the manual.

- Pauli

#12

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



Possibly Related Threads…
Thread Author Replies Views Last Post
  [WP-34S] Unfortunate key damage with update to V3 :( svisvanatha 5 3,127 12-10-2013, 11:37 PM
Last Post: Les Bell
  HP50g: Writing a function that returns a function Chris de Castro 2 2,063 12-10-2013, 06:49 PM
Last Post: Han
  WP-34S (Emulator Program Load/Save) Barry Mead 1 1,763 12-09-2013, 05:29 PM
Last Post: Marcus von Cube, Germany
  DIY HP 30b WP 34s serial flash/programming cable Richard Wahl 2 2,455 12-04-2013, 11:14 AM
Last Post: Barry Mead
  WP 34S/43 ?'s Richard Berler 3 1,997 11-10-2013, 02:27 AM
Last Post: Walter B
  My FrankenCulator (wp-34s) FORTIN Pascal 4 2,089 11-09-2013, 06:18 PM
Last Post: FORTIN Pascal
  WP 34S Owner's Handbook Walter B 5 2,585 11-09-2013, 05:34 PM
Last Post: Harald
  wp 34s overlay and programming. FORTIN Pascal 6 2,837 11-08-2013, 01:28 PM
Last Post: Nick_S
  m.dy in display of WP-34S Harold A Climer 3 1,900 11-05-2013, 11:28 AM
Last Post: Andrew Nikitin
  WP 34s : An old problem coming back Miguel Toro 2 1,694 11-05-2013, 03:00 AM
Last Post: Marcus von Cube, Germany

Forum Jump: