12: The Equation Solver 177
File name : 17BII-Plus-Manual-E-PRINT-030709 Print data : 2003/7/11
calculated and added to the sum. Thus the stored value of X is used to
calculate X + 2X
2
+ 3X
3
+ 4X
4
+ 5X
5
+ 6X
6
.
The following equation uses a variable as the ending value, 0 as the
beginning value, and a step size of 2.
FH2;HF8
^
L;I(I91F:I$I;BX\;T"
If 8 is stored in LAST, I takes on values of 0, 2, 4, 6, and 8. Then the
stored value of X will calculate 2X
2
+ 4X
4
+ 6X
6
+ 8X
8
.
Accessing CFLO and SUM Lists from the Solver
You can use a Solver equation to perform calculations other than those
in the CFLO and SUM menus using data stored in CFLO and SUM lists.
The following Solver functions gain access to these lists.
!
F;_H7L
CFLO-listname
T
returns the number of the last flow in the
specified CFLO list. For example, if the last flow in the list INV were
G9ECL'T8.K(((&((
, then
F;_H7L;<OT
would equal 6.00.
!
G9ECL
CFLO-listname
I
flow number
T
returns the value of the
specified flow.
!
P:L
CFLO-listname
I
flow number
T
returns the number of times the
specified flow occurs.
!
F;_HFL
SUM-listname
T
returns the number of items in the specified
SUM list.
!
;:H0L
SUM-listname
I
item number
T
returns the value of the
specified item.
Summation of List Data. The Σ function can be used to sum calculations
done with numbers in lists. For example, the following equation
calculates Σx
i
2
y
i
2
for values stored in two SUM lists named XVAR and
YVAR, which must have the same number of items:
FX$@$8^L;I#IF;_HFLXO12TI#I;:H0LXO12I;T\$B"
;:H0L@O12I;T\$T"