HP F2226A - 48GII Graphic Calculator User Manual page 706

Graphing calculator
Table of Contents

Advertisement

@SST↓@
--- loop execution number 3 for k = 2
@SST↓@
@SST↓@
@SST↓@
@SST↓@
@SST↓@
@SST↓@
@SST↓@
@SST↓@
@SST↓@
@SST↓@
@SST↓@
@SST↓@
--- for n = 2, the loop index is exhausted and control is passed to the statement
following NEXT
@SST↓@
@SST↓@
@SST↓@
@SST↓@
@SST↓@
The step-by-step listing is finished. The result of running program @@@S1@@ with n
= 2, is S:5.
Check also the following results: J
3 @@@S1@@
Result: S:14
5 @@@S1@@
Result: S:55
10 @@@S1@@
Result: S:385
30 @@@S1@@
Result: S:9455
Empty stack (NEXT – end of loop)
SL1 = 2. (k)
2
SL1 = 4. (SQ(k) = k
)
SL1 = 1.(S), SL2 = 4. (k
2
SL1 = 5. (S + k
)
SL1 = 1., SL2 = 5. (S + k
SL1 = 2.(k), SL2 = 1., SL3 = 5. (S + k
SL1 = 3.(k+1), SL2 = 5. (S + k
SL1 = 'k', SL2 = 3., SL3 = 5. (S + k
2
SL1 = 5. (S + k
) [Stores value of SL2 = 3,
into SL1 = 'k']
SL1 = 'S', SL2 = 5. (S + k
Empty stack [Stores value of SL2 = 0, into
SL1 = 'S']
Empty stack (NEXT – end of loop)
SL1 = 5 (S is recalled to the stack)
SL1 = "S", SL2 = 5 ("S" is placed in the
stack)
SL1 = S:5 (tagging output value)
SL1 = S:5 (leaving sub-program »)
SL1 = S:5 (leaving main program »)
4 @@@S1@@ Result: S:30
8 @@@S1@@ Result: S:204
20 @@@S1@@ Result: S:2870
100 @@@S1@@ Result: S:338350
2
)
2
)
2
)
2
)
2
)
2
)
Page 21-57

Advertisement

Table of Contents
loading

This manual is also suitable for:

48gii

Table of Contents