Euler(); Exit - Texas Instruments TI-Nspire Reference Manual

Reference guide
Hide thumbs Also See for TI-Nspire:
Table of Contents

Advertisement

euler()

euler(Expr, Var, depVar, {Var0, VarMax}, depVar0, VarStep
[, eulerStep])
matrix
euler(SystemOfExpr, Var, ListOfDepVars, {Var0, VarMax},
ListOfDepVars0, VarStep [, eulerStep])
euler(ListOfExpr, Var, ListOfDepVars, {Var0, VarMax},
ListOfDepVars0, VarStep [, eulerStep])
Uses the Euler method to solve the system
d
depVar
--------------------- -
Expr
Var
depVar
=
(
,
d
Var
depVar
Var0
depVar0
with
(
)=
matrix whose first row defines the
second row defines the value of the first solution component at the
Var
corresponding
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
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.
VarStep
is a nonzero number such that sign(
VarMax
Var0
sign(
-
) and solutions are returned at
Var0
all i=0,1,2,... such that
VarMax
not be a solution value at
eulerStep
is a positive integer (defaults to 1) that defines the number
of euler steps between output values. The actual step size used by the
à
VarStep
eulerStep
euler method is

Exit

Exit
Exits the current For, While, or Loop block.
Exit is not allowed outside the three looping structures (For, While,
or Loop).
Note for entering the example:
on the handheld, you can enter multi-line definitions by pressing
·
instead of
at the end of each line. On the computer keyboard,
hold down
and press
Alt
Enter
34
TI-Nspire™ Reference Guide
matrix
matrix
)
Var0
VarMax
on the interval [
,
Var
output values and whose
ListOfDepVars
VarStep
) =
Var0
+i·
VarStep
var0
VarMax
+i·
is in [
,
).
.
In the Calculator application
.
Differential equation:
y'=0.001*y*(100-y) and y(0)=10
To see the entire result, press
move the cursor.
]. Returns a
System of equations:
with y1(0)=2 and y2(0)=5
).
VarStep
for
] (there may
Function listing:
@
Catalog >
£
¡
¢
and then use
and
to
Catalog >

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TI-Nspire and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF