# Function Rrkstep - HP F2226A - 48GII Graphic Calculator User Manual

Graphing calculator.

## Function RRKSTEP

This function uses an input list similar to that of function RRK, as well as the
tolerance for the solution, a possible step ∆x, and a number (LAST) specifying
the last method used in the solution (1, if RKF was used, or 2, if RRK was
used). Function RRKSTEP returns the same input list, followed by the tolerance,
an estimate of the next step in the independent variable, and the current
method (CURRENT) used to arrive at the next step. Thus, the input stack looks
as follows:
After running this function, the stack will show the lines:
Thus, this function is used to determine the appropriate size of a time step
((∆x)
) to satisfy the required tolerance, and the method used to arrive at that
next
result (CURRENT).
The following screen shots show the RPN stack before and after application of
function RRKSTEP:
These results indicate that (∆x)
(CURRENT = 1) should be used.
4:
{'x', 'y', 'f(x,y)'}
ε
3:
∆x
2:
1:
LAST
4:
{'x', 'y', 'f(x,y)'}
ε
3:
2:
(∆x)
next
1:
CURRENT
= 0.00558... and that the RKF method
next
Page 16-73