Function rkfstep – HP 49g+ User Manual

Page 546

Advertising
background image

Page 16-72


The following screen shots show the RPN stack before and after application of
function RRK:


The value stored in variable y is 3.00000000004.

Function RKFSTEP

This function uses an input list similar to that of function RKF, as well as the
tolerance for the solution, and a possible step

∆x, and returns the same input

list, followed by the tolerance, and an estimate of the next step in the
independent variable. The function returns the input list, the tolerance, and
the next step in the independent variable that satisfies that tolerance. Thus,
the input stack looks as follows:

3: {‘x’, ‘y’, ‘f(x,y)’}
2:

ε

1:

∆x


After running this function, the stack will show the lines:

3: {‘x’, ‘y’, ‘f(x,y)’}
2:

ε

1: (

∆x)

next


Thus, this function is used to determine the appropriate size of a time step to
satisfy the required tolerance.

The following screen shots show the RPN stack before and after application of
function RKFSTEP:


These results indicate that (

∆x)

next

= 0.34049…

Advertising
This manual is related to the following products: