Please show how to answer the following question. Thank you.
Consider the mechanical system shown in Figure P2.15, p. 43 of Close, Frederick and Newell, Modeling and Analysis of Dynamic Systems, 3rd ed., where the springs are neither stretched nor compressed when x_1 = x_2 = 0. This system is modelled by the equations M_1 x_1 + B x_1 + K_1 x_1 – B x_2 – K_1 x_2 = M_1 g – B x_1 – K_1 x_1 + M_2 x_2 + B x_2 + (K_1 + K_2)x_2 = M_2 g + f_a(t) (a) Define appropriate state variables and write down the matrix form of the state variable equations with inputs f_a(t) and g. Also write down the matrix form of the output equations, where the outputs are the force f_K_1 = K_1(x_1 – x_2) and the acceleration a_M_2 of M_2. (b) Let M_1 = M_2 = K_1 = K_2 = B = 1 in this problem. Derive the input-output equation relating xi to the inputs f_a(t) and g.