A simple pendulum (mass $M$ and length $L$ ) is suspended from a cart (mass $m$ ) that can oscillate on the end of a spring of force constant $k,$ as shown in Figure $7.15 .$ (a) Write the Lagrangian in terms of the two generalized coordinates $x$ and $\phi$, where $x$ is the extension of the spring from its equilibrium length. (Read the hint in Problem $7.29 .$ ) Find the two Lagrange equations. (Warning: They're pretty ugly!) (b) Simplify the equations to the case that both $x$ and $\phi$ are small. (They're still pretty ugly, and note, in particular, that they are still coupled; that is, each equation involves both variables. Nonetheless, we shall see how to solve these equations in Chapter 11-see particularly Problem 11.19 .)