Spring Equation with Forcing In a forced harmonic oscillator, an external forcing function acts, changing the motion. ⎡− 1 1 ⎢0 2 ⎣
Net force = spring restoring force + damping force + driving force (mass)(acceleration) = - (spring constant)(displacement) 3⎤ (damping constant)(velocity) + external force − 2⎥⎦ The negative signs indicate the force opposes the motion.
my'' + βy' + ky = f(t) To solve the differential equation for a forcing function acting on a mass-spring system we will use the method of undetermined coefficients. Butler CC Math Friesen
Driven Mass Spring System
Equilibrium point y = 0 (resting position) f(t) stretching is positive displacement and velocity The dependent variable y represents the position of the mass at time t. y' is the velocity at time t. Butler CC Math Friesen
Spring Equation Example 1
⎡− 1 1 3 ⎤ ⎢ 0 2 − 2⎥ ⎣ ⎦
Suppose a weight of 32 lb stretches a spring 8 inches. It is acted on by a constant force of 8 lb. The mass is released from rest at a point 4 inches above the equilibrium position. Find the equation of motion and graph it. Weight = (mass)(g) so mass = 32/32 = 1 slug k = force/displacement = 32/8 = 4 lb/in y(0) = -4 in; y'(0) = 0 in/sec
Differential equation of displacement y with initial conditons: y'' + 4y = 8 y(0) = -4; y'(0) = 0 Butler CC Math Friesen
y = -6cos2t + 2 y' = 12sin2t Butler CC Math Friesen
Forced Spring Equation Example 2 my'' + βy' + ky = f(t) A 2 kg mass-spring system driven for an external force 2cost N. The spring constant is 1 N/m; damping = 0.5 kg/s. Write the equation of motion. ⎡− 1 1 3 ⎤ ⎢ 0 2 − 2⎥ ⎣ ⎦
2y'' + .5y' + 1y = 2cost
Roots of the characteristic equation: s = -0.125 ± 0.696i yh = e-0.125t(k1cos(.696t)+k2sin(.696t)) s* = ± i so yp = Acost + Bsint
Substituting yp into the diff. equation and separating terms: cost terms: -2A + 1/2B + A = 2; sint terms: -2B - 1/2A + B = 0 A = -1.6; B = 0.8 Butler CC Math Friesen
Forced Spring Equation Example 2 yp = -1.6cost + 0.8sint yh = e-0.125t (k1cos(.696t) + k2sin(.696t)) General solution: y = e-0.125t (k1cos(.696t) + k2sin(.696t)) - 1.6cost + 0.8sint ⎡− 1 1 3 ⎤ ⎢ 0 2 − 2⎥ ⎣ ⎦
y=0 Suppose the mass is released one meter below the equilibrium position with upward velocity 1 m/s. Initial conditions: y(0) = 1; y'(0) = -1
Butler CC Math Friesen
Forced Spring Equation Example 2 General equation of motion: y = e-0.125t (k1cos (.696t) + k2sin(.696t)) - 1.6cost + 0.8sint Find the derivative (velocity): v = y' = -0.125e-0.125t (k1cos(.696t) + k2sin(.696t)) + 0.696e-0.125t (-k1sin(.696t) + k2cos(.696t) + 1.6sint + 0.8cost ⎡− 1 1 3 ⎤ ⎢ 0 2 − 2⎥ ⎣ ⎦