Olivia Campbell
12213131
MATH 238 – Project 3
11/28/23
Part 1
: A mass-spring motion is governed by the ordinary differential equation
where m is the mass, b is the damping constant, k is the spring constant, and F(t) is the external force. We consider the initial conditions x(0) = 1 and x (0) = 0. Assume the following numerical ′
values for this part of the project: m = 1, k = 1/5, b = 1/5, and F(t) = cos γt.
(a)
Read section 4.10. Explain what the resonance frequency is, and then compute the resonance frequency for this mass-spring system.
The resonance frequency of a mass-spring system is the natural frequency where
a medium vibrates at the highest amplitude. The resonance frequency of this mass spring system is f=0.65 rad/s at ?
=4.2
(b)
The ODE45-solver can be used to obtain the solution curves in MATLAB. Use the provided MATLAB code to plot the solutions and estimate the amplitude A of the steady response for γ = 0.2, 0.42, 0.6, and 0.8.
?
= 0. 2 ?
=6.1
?
= 0. 4 ?
=11.2
?
= 0. 6 ?
= 5
?
= 0. 8 ?
= 2.1
(c) Plot the graph of A versus γ. For what frequency γ is the amplitude the greatest? Is it equal to that you obtained in (a)?