EndLoop
See Loop,
EndPrgm
See Prgm,
EndTry
See Try,
EndWhile
See While,
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
).
Differential equation:
y'=0.001*y*(100-y) and y(0)=10
To see the entire result, press
£
and then
use
¡
and
¢
to move the cursor.
Compare above result with CAS exact
solution obtained using deSolve() and
seqGen():
Alphabetical Listing
63
Summary of Contents for TI-Nspire CAS
Page 4: ...4 Service and Warranty Information 249 Index 251 ...
Page 248: ...248 ...
Page 250: ...250 ...