Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
# dx(t) #
x1(t) = x(t), x2(t) = x(t) = K x1(t) (4.71)
dt
or, in view of the functions x 1(t) and x 2(t) introduced in Eq. (4.71),
#
mx2 = - cx2(t) - kx1(t) + f(t) (4.73)
Equation (4.73) along with the second relation given in Eq. (4.71) can be expressed as
#
x1(t) = x2(t) (4.74)
4.8 NUMERICAL METHODS 429
# c k 1
x2(t) = x2(t) - x1(t) + f(t) (4.75)
m m m
Equations (4.74) and (4.75) represent two first-order differential equations which together
denote Eq. (4.70). Equations (4.74) and (4.75) can be expressed in vector form as
#! ! !
X(t) = F(X, t) (4.76)
where
X(t) = b r, X(t) = b # r,
! #! #
x1(t) x1(t)
x2(t) x2(t)
F (X, t) = b r K c k s
x2(t)
B B F1(t)
c 1 (4.77)
F2(t) - x1(t) - x2(t) + f(t)
m m m
4.8.1 In most of the numerical methods, improved solutions are found from the present solution
Runge-Kutta (starting with a known initial value at time zero) according to the formula
Methods
xi + 1 = xi + ¢xi (4.78)
! ! 1 ! ! ! !
Xi + 1 = Xi + [K1 + 2K2 + 2K3 + K4] (4.80)
6
430 CHAPTER 4 VIBRATION UNDER GENERAL FORCING CONDITIONS
where
! ! !
K1 = hF(Xi, ti) (4.81)
K2 = hF ¢ Xi + K1, ti + h
! ! ! 1 ! 1
(4.82)
2 2
K3 = hF ¢ Xi + K2, ti + h
! ! ! 1 ! 1
(4.83)
2 2
! ! ! !
K4 = hF(Xi + K3, ti + 1) (4.84)
!
The method is stable and self starting that is, only the value of the vector function F at a
single previous time station is required to find the function value at the current time station.
The following example illustrates the procedure.
$ #
500x + 200x + 750x = F(t) = 2000 (E.1)
so that m = 500, c = 200, k = 750, and F(t) = F0 = 2000. Use the fourth-order Runge-Kutta
# #
method. Assume the initial conditions as x(t = 0) = x0 = 0 and x(t = 0) = x0 = 0.
Solution: The equation of motion given by (E.1) can be expressed as a system of two first-order
differential equations as shown in Eq. (4.76) with
f = b r = c s
x2(t)
! f1(t)
1
f2(t) (2000 - 200x2 - 750x1)
500
and
X0 = b 1 r = b r
! x (0) 0
x2(0) 0
The response is computed over the time (0, T). The time duration of T = 20 s is divided into 400
equal time steps so that
T 20
¢t = h = = = 0.05 s
400 400
4.9 RESPONSE TO IRREGULAR FORCING CONDITIONS USING NUMERICAL METHODS 431
TABLE 4.1
i x1(i) = x(ti) x2(i) = x(ti)