calculated and added to the sum. Thus the stored value of X is used to calculate X + 2X2 + 3X3 + 4X4 + 5X5 + 6X6.

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 2X2 + 4X4 + 6X6 + 8X8.

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;_H7LCFLO-listnameT 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.

!G9ECLCFLO-listnameI flow numberT returns the value of the specified flow.

!P:LCFLO-listnameI flow numberT returns the number of times the specified flow occurs.

!F;_HFLSUM-listnameT returns the number of items in the specified SUM list.

!;:H0LSUM-listnameI item numberT 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 Σxi2yi2 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"

 

12: The Equation Solver 177

File name : 17BII-Plus-Manual-E-PRINT-030709

Print data : 2003/7/11

Page 177
Image 177
HP 17bII manual Accessing Cflo and SUM Lists from the Solver