right()
Catalog >
Returns the rightmost Num elements
contained in List1.
If you omit Num, returns all of List1.
right(sourceString[, Num]) ⇒ string
Returns the rightmost Num characters
contained in character string sourceString.
If you omit Num, returns all of
sourceString.
right(Comparison) ⇒ expression
Returns the right side of an equation or
inequality.
rk23 ()
Catalog >
rk23(Expr, Var, depVar, {Var0, VarMax},
depVar0, VarStep [, diftol]) ⇒ matrix
rk23(SystemOfExpr, Var, ListOfDepVars,
{Var0, VarMax}, ListOfDepVars0,
VarStep[, diftol]) ⇒ matrix
rk23(ListOfExpr, Var, ListOfDepVars,
{Var0, VarMax}, ListOfDepVars0,
VarStep[, diftol]) ⇒ matrix
Uses the Runge-Kutta method to solve the
system
with depVar(Var0)=depVar0 on the
interval [Var0,VarMax]. Returns a matrix
whose first row defines the Var output
values as defined by VarStep. The second
row defines the value of the first solution
component at the corresponding Var
values, and so on.
Expr is the right hand side that defines the
ordinary differential equation (ODE).
SystemOfExpr is a system of right-hand
sides that define the system of ODEs
(corresponds to order of dependent
variables in ListOfDepVars).
Differential equation:
y'=0.001*y*(100-y) andy(0)=10
To see the entire result, press £ and then
use ¡and¢ to move the cursor.
Same equation withdiftol set to 1.E−6
Compare above result with CAS exact
solution obtained using deSolve() and
seqGen():
System of equations:
Alphabetical Listing 149