
Page 16-64
Numerical solution of second-order ODE
Integration of second-order ODEs can be accomplished by defining the
solution as a vector. As an example, suppose that a spring-mass system is
subject to a damping force proportional to its speed, so that the resulting
differential equation is:
dt
dx
x
dt
x
d
⋅
−
⋅
−
=
962
.
1
75
.
18
2
2
or, x" = - 18.75 x - 1.962 x',
subject to the initial conditions, v = x' = 6, x = 0, at t = 0. We want to find x,
x' at t = 2.
Re-write the ODE as:
w
' =
Aw
, where
w
= [ x x' ]
T
, and
A
is the 2 x 2
matrix shown below.
⋅
−
−
=
'
962
.
1
75
.
18
1
0
'
'
x
x
x
x
The initial conditions are now written as
w
= [0 6]
T
, for t = 0. (Note: The
symbol [ ]
T
means the transpose of the vector or matrix).
To solve this problem, first, create and store the matrix
A
, e.g., in ALG mode:
Then, activate the numerical differential equation solver by using:
‚ Ï
˜
@@@OK@@@
. To solve the differential equation with starting time t = 0 and
final time t = 2, the input form for the differential equation solver should look
as follows (notice that the Init: value for the Soln: is a vector [0, 6]):
Содержание 49g+
Страница 1: ...hp 49g graphing calculator user s guide H Edition 4 HP part number F2228 90006 ...
Страница 197: ...Page 5 30 LIN LNCOLLECT POWEREXPAND SIMPLIFY ...
Страница 377: ...Page 11 55 Function KER Function MKISOM ...
Страница 457: ...Page 13 26 In the right hand side figure above we are using the line editor to see the series expansion in detail ...
Страница 775: ...Page 26 10 the location of the backup battery in the top compartment at the back of the calculator ...
Страница 838: ...Page L 5 ...