A Spring-Mass-Dashpot System with Variable Damping As we saw in Section \(3.6\),
the differential equation modeling unforced damped motion of a mass suspended
from a spring is \(m y^{\prime \prime}+\gamma y^{\prime}+k y=0\), where \(y(t)\)
represents the downward displacement of the mass from its equilibrium
position. Assume a mass \(m=1 \mathrm{~kg}\) and a spring constant \(k=4 \pi^{2}
\mathrm{~N} / \mathrm{m}\). Also assume the damping coefficient \(\gamma\) is
varying with time:
$$
\gamma(t)=2 t e^{-t / 2} \mathrm{~kg} / \mathrm{sec} \text {. }
$$
Assume, at time \(t=0\), the mass is pulled down \(20 \mathrm{~cm}\) and released.
(a) Formulate the appropriate initial value problem for the second order
scalar differential equation, and rewrite it as an equivalent initial value
problem for a first order linear system.
(b) Applying Euler's method, numerically solve this problem on the interval \(0
\leq t \leq 10 \mathrm{~min}\). Use a step size of \(h=0.005\).
(c) Plot the numerical solution on the time interval \(0 \leq t \leq 10
\mathrm{~min}\). Explain, in qualitative terms, the effect of the variable
damping upon the solution.