sum list in 17bii solver equation


I don't think this is possible, but is there any way to change the value of a sum list item within a solver equation?


I have only played with a 17BII once, but I thought you could navigate though the list with the up and down arrows, and then delete the item and then reenter a new item for the changed value. Actually, I think you can just type over the item value that you wish to change.



I hope I understand your question correctly - did you try the following snippet?

0*L(variable:G(variable)<OPERATOR> <EXPRESSION> .... )

<OPERATOR> == *,/,+,- ...
<EXPRESSION> == any valid expression in the solver context

Best regards,

Peter A. Gebhardt


Peter, I should have phrased my request better. By *sum list* I mean a named list associated with the Sum function from the main menu. You know, press Sum and start entering values in the list, and when you are done you can name the list. You can *read* these sum list items with the ITEM function in a solver equation, but you cannot *write* or update them within the solver, at least I have not been able to do that and I have a feeling you cannot do it.

L(ITEM(MYLIST:1):123) does not work.


To be able to do that would be way too cool and would border on black magic! :-)


True you can't do this on the 17bii but you *can* do it on the 35s with the expression fragment: 0x( aaa STO I + bbb STO (I)). aaa is the array index location, yyy is whatever you want to store in that array location. (You can, of course, you J and (J) if you'd like too.)

You can use this to control looping on the 35s too there's more here.

Edited: 14 Aug 2007, 12:25 p.m.


Holy cow, how did I miss that thread!

Nice work. When I read about the sto rcl inside the equation list I must admit I was excited too, but I hadn't thought of anything concrete--it was just a feeling like, "now *that* wil be useful!"--and so it is!:-)



as Bill Platt already stated - sorry (currently?)not ...

Something Bob McGuire, Tony Hutchins any many other great contributors to this Forum alreday missed very much.

The only hope is, that HP at some future time would bring us a new type of financial calculator with the best of the HP19b/27s Solvers combined with the urgently needed enhancements requested so often already.

What I discovered playing around with the offered code snippet on an 200LX is, that

- loop variable "i" does show up in the custom menu, if used in an expression

- "i" is not the same as L(i, ....), so g(i) to supress it showing up on a custom menu doesn't work - so TWO VARIABLES "i" (or a second "instance" of ANY loop variable), are apparently possible!

Best regards,

Peter A. Gebhardt


Peter, you are probably right.

As a programmer, the idea of 2 different variables with the same name makes me just want to go find a tropical island somewhere and get away from it all!

Katie's insights into the 35s solver are nothing short of brilliant. I'm still trying to comprehend it all.

Possibly Related Threads...
Thread Author Replies Views Last Post
  hp-prime solver and variable name fabrice48 22 3,938 12-10-2013, 03:25 AM
Last Post: fabrice48
  Solver issue with HP 17BII - different from 19BII Jeff Kearns 13 2,009 11-28-2013, 02:36 AM
Last Post: Don Shepherd
  HP Prime Triangle solver BruceH 29 3,857 11-28-2013, 12:03 AM
Last Post: Dale Reed
  17BII & 17BII+ Discounted Payback Period Revisited Tom Neudorfl 8 1,554 11-25-2013, 10:28 AM
Last Post: Don Shepherd
  HP-Prime : Extracting elements from a list in RPN Miguel Toro 0 719 11-15-2013, 06:44 PM
Last Post: Miguel Toro
  [HP-Prime] Picking elements from a List in a program Jean-Michel 3 895 11-15-2013, 04:16 AM
Last Post: dg1969
  Hp PRIME - how to send a list to the connectivity Kit giancarlo 1 644 11-10-2013, 11:50 AM
Last Post: Tim Wessman
  How do I decompose a list with the HP Prime. Hal Bitton in Boise 4 947 11-08-2013, 02:07 PM
Last Post: Patrice
  Equation Library/App for the Prime Harold A Climer 3 879 10-30-2013, 10:14 AM
Last Post: CompSystems
  HP-Prime/Xcas: vector/list indexing fhub 6 1,303 10-27-2013, 04:52 PM
Last Post: fhub

Forum Jump: