Texas Instruments TINSPIRE Reference Guide - Page 91

matrix, VarMax, Value, Integer1, ofRotations, Nth root template

Page 91 highlights

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 Differential equation: y'=0.001*y*(100-y) and y(0)=10 Uses the Runge-Kutta method to solve the system -d----d---e---p----V----a--r= Expr(Var, depVar) d Var 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. £ ¡ ¢ To see the entire result, press and then use and to move the cursor. Same equation with diftol set to 1.E•6 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 System of equations: ListOfDepVars). ListOfExpr is a list of right-hand sides that define the system of ODEs (corresponds to order of dependent variables in ListOfDepVars). with y1(0)=2 and y2(0)=5 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. If VarStep evaluates to a nonzero number: sign(VarStep) = sign(VarMax-Var0) and solutions are returned at Var0+i*VarStep for all i=0,1,2,... such that Var0+i*VarStep is in [var0,VarMax] (may not get a solution value at VarMax). if VarStep evaluates to zero, solutions are returned at the "RungeKutta" Var values. diftol is the error tolerance (defaults to 0.001). root() root(Value) ⇒ root root(Value1, Value2) ⇒ root root(Value) returns the square root of Value. root(Value1, Value2) returns the Value2 root of Value1. Value1 can be a real or complex floating point constant or an integer or complex rational constant. Note: See also Nth root template, page 1. Catalog > rotate() Catalog > rotate(Integer1[,#ofRotations]) ⇒ integer In Bin base mode: Rotates the bits in a binary integer. You can enter Integer1 in any number base; it is converted automatically to a signed, 64-bit binary form. If the magnitude of Integer1 is too large for this form, a symmetric modulo operation brings it within the range. For more information, see 4Base2, page 12. £ ¡ ¢ To see the entire result, press and then use and to move the cursor. TI-Nspire™ Reference Guide 85

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164

TI-Nspire™ Reference Guide
85
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
=
Expr
(
Var
,
depVar
)
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
).
ListOfExpr
is a list of right-hand sides that define the system of ODEs
(corresponds to 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.
If
VarStep
evaluates to a nonzero number: sign(
VarStep
) =
sign(
VarMax
-
Var0
) and solutions are returned at
Var0
+i*
VarStep
for
all i=0,1,2,… such that
Var0
+i*
VarStep
is in [
var0
,
VarMax
] (may not
get a solution value at
VarMax
).
if
VarStep
evaluates to zero, solutions are returned at the "Runge-
Kutta"
Var
values.
diftol
is the error tolerance (defaults to 0.001).
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.
Same equation with
diftol
set to 1.
E
•6
System of equations:
with
y1
(0)=2 and
y2
(0)=5
root()
Catalog >
root(
Value
)
root
root(
Value1
,
Value2
)
root
root(
Value
)
returns the square root of
Value
.
root(
Value1
,
Value2
)
returns the
Value2
root of
Value1
.
Value1
can be a real or complex floating point constant or an integer or
complex rational constant.
Note:
See also
Nth root template
, page 1.
rotate()
Catalog >
rotate(
Integer1
[
,
#ofRotations
]
)
integer
Rotates the bits in a binary integer. You can enter
Integer1
in any
number base; it is converted automatically to a signed, 64-bit binary
form. If the magnitude of
Integer1
is too large for this form, a
symmetric modulo operation brings it within the range. For more
information, see
4
Base2
, page 12.
In Bin base mode:
To see the entire result, press
£
and then use
¡
and
¢
to
move the cursor.
depVar
d
Var
d
---------------------