User Manual - Page 50

For N3/TBL/1L1/J.

Loading ...
Loading ...
Loading ...
46 Alphabetical Listing
EndWhile
See While, page 166.
euler ()
Catalog >
euler(Expr, Var, depVar, {Var0, VarMax},
depVar0, VarStep [, eulerStep]) matrix
euler(SystemOfExpr, Var, ListOfDepVars,
{Var0, VarMax}, ListOfDepVars0,
VarStep [, eulerStep]) matrix
euler(ListOfExpr, Var, ListOfDepVars,
{Var0, VarMax},ListOfDepVars0,
VarStep [, eulerStep]) matrix
Uses the Euler 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 and whose 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 the system of right-hand
sides that define the system of ODEs
(corresponds to order of dependent
variables in ListOfDepVars).
ListOfExpr is a list of right-hand sides that
define the system of ODEs (corresponds to
the order of dependent variables in
ListOfDepVars).
Var is the independent variable.
ListOfDepVars is a list of dependent
variables.
{Var0, VarMax} is a two-element list that
tells the function to integrate from Var0 to
VarMax.
ListOfDepVars0 is a list of initial values
for dependent variables.
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.
System of equations:
withy1(0)=2 and y2(0)=5
Loading ...
Loading ...
Loading ...