Rrkstep - HP 48gII Advanced User's Reference Manual

Graphing calculator.

– The partial derivative of y'(t) with respect to the independent variable (or a variable where
the expression is stored).
• x
sets the tolerance value. If a list is used, the first value is the tolerance and the second
tol
value is the initial candidate step size.
• x
specifies the final value of the independent variable.
Tfinal
RRK repeatedly calls RKFSTEP as its steps from the initial value to x
...µ
Access:
Input/Output:
RKF, RKFERR, RKFSTEP, RRKSTEP, RSBERR

RRKSTEP

Type:
Command
Description: Next Solution Step and Method (RKF or RRK) Command: Computes the next solution step
(h
) to an initial value problem for a differential equation, and displays the method used to
next
arrive at that result.
The arguments and results are as follows:
• { list } contains five items in this order:
– The independent variable (t).
– The solution variable (y).
– The right-hand side of the differential equation (or a variable where the expression is
stored).
– The partial derivative of y'(t) with respect to the solution variable (or a variable where the
expression is stored).
– The partial derivative of y'(t) with respect to the independent variable (or a variable where
the expression is stored).
• x
is the tolerance value.
tol
• h specifies the initial candidate step.
• last specifies the last method used (RKF = 1, RRK = 2). If this is the first time you are using
RRKSTEP, enter 0.
• current displays the current method used to arrive at the next step.
h
is the next candidate step.
next
The independent and solution variables must have values stored in them. RRKSTEP steps these
variables to the next point upon completion.
Note that the actual step used by RRKSTEP will be less than the input value h if the global error
tolerance is not satisfied by that value. If a stringent global error tolerance forces RRKSTEP to
reduce its stepsize to the point that the Runge–Kutta–Fehlberg or Rosenbrock methods fails,
then RRKSTEP will use the Euler method to compute the next solution step and will consider
the error tolerance satisfied. The Rosenbrock method will fail if the current independent variable
is zero and the stepsize 2.5 × 10
times its magnitude. The Runge–Kutta–Fehlberg method will fail if the current independent
variable is zero and the stepsize 1.3 × 10
× 10
times its magnitude.
-10
...µ
Access:
3-154 Full Command and Function Reference
RRK
L
/A
L
/A
3
1
2
{ list }
x
tol
{ list }
{ x
x
tol
L = Level; A = Argument; I = item
-499
RRKS
L
/A
2
1
3
x
T final
}
x
hstep
T final
or if the variable is nonzero and the stepsize is 2.5 × 10
or if the variable is nonzero and the stepsize is 1.3
-498
.
Tfinal
L
/I
L
/I
2
1
1
2
{ list }
x
tol
{ list }
x
tol
-11  