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?
sum list in 17bii solver equation
|
|
« Next Oldest | Next Newest »
|
▼
08-13-2007, 09:34 AM
▼
08-13-2007, 09:37 AM
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.
08-14-2007, 09:11 AM
Don, I hope I understand your question correctly - did you try the following snippet?
Quote:
<OPERATOR> == *,/,+,- ... Best regards, Peter A. Gebhardt ▼
08-14-2007, 10:06 AM
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. ▼
08-14-2007, 10:26 AM
To be able to do that would be way too cool and would border on black magic! :-) ▼
08-14-2007, 12:23 PM
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.
08-14-2007, 01:17 PM
Don, 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 ▼
08-14-2007, 03:13 PM
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. |