You are on page 1of 8

CIVL 4330 Practice Homework Set 2: Solutions Dr.

Hu

1. ( = 0 and n = ¾ n; plot both for first 4 terms and first 20 terms and compare)

Note: n = ¾ n implies

1 = 3/4, 2 = 3/2, etc., i.e.

1 = 0.75w0, 2 = 1.5w0,
etc. (no resonance)

Recall: (no damping case)

 Clear variables
 Provide n (freq. ratio) formula

 Provide Fourier coefficients of the forcing


 Find dynamic amplification factor  at each n
using the given freq. ratios

Define “ss” function which will assemble the


steady-state solution by summing over n
(from n = 1 to upper limit given as argument)

 Will measure response in units of p0/k


 As requested, will plot this response with 1t on the horizontal axis
(calculator calls it “x”), hence “t” is replaced by “x/1” for plotting

 Each “x” means 1t in this 8-term Fourier sum (use


“expand” to force listing term by term)
Evaluating the Fou

nerated each time.

But be careful: calculator set in radian mode (Home – Settings – Document settings), so sin(nx)
expects x in radians

 Correct approach: generate degree values by


counter “deg”, compute its radian equivalent, then
use result as “x” in sin(nx)
 Just 4 terms used here, but you can use more for
better accuracy
Plotting the steady-state response using various number of terms:

 Insert a new page (graph)


 Since we are asked to view 1 t (“x”) in degrees, now adjust graph settings (NOT
document settings!) to degree values using menu – settings –

 In the command line (ctrl-g to show/hide), tell nspire to plot the following:
plot(terms)*h(x)
where the variable terms will have its value given by a “slider” later

 Now insert the slider: Menu – actions – insert slider

Initial value

After the slider is dragged to the desired position, you can experiment with different numbers of
terms in the Fourier sum easily:
2. A diesel pile hammer is used at a construction site to drive a pile into the ground. To monitor
the effect of hammering on two neighboring buildings (one tall; one short), the ground
acceleration due to this hammering is recorded by an accelerometer placed near the buildings.
Assume zero initial conditions. Use Duhamel’s integral to calculate and plot the displacement
(relative to ground) time histories of the two buildings (for 0 < t < 1s). What are their maximum
values?
Solution (very similar to examples in Ch. 6):
Plotting d(t), we get the short building’s vibration history for 0 < t < 1 s (units: mm vs/ sec.):

By similar calculations, we obtain the tall building’s vibration history for 0 < t < 1 s (units: mm
vs/ sec.):
3. For the shear building subjected to the load as shown, determine its horizontal deflection for
F0 = 30 kips, td = 0.7 s, E = 29000 ksi, I = 272 in4, W = 20 kips. Assume zero initial conditions.

(use the SI numbers: F0 = 133.45 kN, td = 0.7 s, E = 200 GPa, I = 11321.5 cm4, W = 88.96 kN)

 Use the Duhamel integral approach and assume 5% viscous damping


 Provide x at t = 0.5 s and 0.8 s
 Plot the vibration history up to t = 2 s

12 ft

Solution:
Response (mm vs sec.)

You might also like