2. The pendulum sketched in Figure 2 lays in the vertical plane with gravity acting in y direction. Mass m is attached to a massless link with length L that is hinged to point O A horizontal force F is acting on the lower end of the pendulum and a spring with stiffness k and zero natural length is attached to the center (Point c). Choose 0 as the generalized coordinate and : a) Write the kinetic energy T and potential energy Vof the system.
b) Obtain the non-conservative generalized force associated with 0. c) By using Hamilton's principle obtain the equation of motion.
1/2
L/2
Figure 2: Pendulum with a spring attached to the middle and force F acting at the end.