Consider the two-mass system in Figure 1, where \(k_1\) and \(k_2\) are spring constants; \(x_1\) and \(x_2\) are displacements of \(m_1\) and \(m_2\), assuming that both springs have their natural lengths when \(x_1=x_2=0\). The surface is frictionless and \(f\) is an external force applied to \(m_1\).
(a) (6%) Choose \(x_1\) as the output of the system. Write down the state space representation using \(\mathbf x=[x_1,x_2,\dot x_1,\dot x_2]^T\) as the state vector, where \(\dot x_i\) denotes the time derivative of \(x_i\) for \(i=1,2\).
(b) (8%) Find the transfer function from \(f\) to \(x_1\).
(c) (6%) Suppose that \(\dfrac{k_1}{m_1}=\dfrac{k_2}{m_2}=r\) and \(\dfrac{k_2}{m_1}=\dfrac r6\). Find the resonant frequencies of the system in terms of \(r\).
(d) (8%) Let \(f(t)=\sin(\omega_0t)\) and \(\dot x_1(0)=0\). Find \(\omega_0\), \(x_2(0)\), and \(\dot x_2(0)\) such that \(x_1(t)=0\) for all \(t\ge0\).