A cart, of mass 5m, rolls along the ground and is connected to a wall by a linear spring with a coefficient of 8K.  From the top of the cart a block, of mass m, is suspended down the front incline of the cart by another spring with a spring coefficient of 3K.  The cart rolls along the ground without slipping. Derive the equations of motion using Lagrange’s equations.

 

 

 

 

 

 

Solution:

The first thing to look at in this problem is the selection of the generalized coordinates. We can immediately see that we will require two frames of reference. The first frame, A, is the inertial frame in which the cart rolls along the ground. The second frame, B, will reside in the frame of the cart oriented along the forward incline. The suspended block at the top of the cart moves with respect to this frame. Our two generalized coordinates are:

 

  1. x, in the
     of the cart along the ground
  2. μ  in the
     direction for the motion of the block along the forward incline

 

The first thing we will need is a set of transformation equations for changing basis vectors between frames A and B.

 

                                                                                                (1.1)

 

We’ll first start with writing the kinetic energy of the cart.  As the cart move along the ground in the  direction its kinetic energy is

                                                                                                            (1.2)

 

Next, we need the kinetic energy of the block. The total linear velocity of the block is the sum of the velocity of the cart plus the velocity of the block with respect to the cart. For the kinetic energy of the block we have

                                                                          (1.3)

 

Using the transformations in equation (1.1) we write the kinetic energy of the block as

                     (1.4)

 

The total kinetic energy for the system is the sum of equations (1.2) and (1.4)

 

                                                                  (1.5)

 

The next step is to determine the total potential energy for the system. In this problem, the potential will consist of the gravitational potential for the block and the conservative forces in the springs. Since the cart does not move in the vertical direction, there is no change in its potential.

 

Using the top of the cart as the zero reference datum, we have for the potential energy of the block

                                                                                                      (1.6)

 

If we let the undeflected spring positions for the generalized coordinates be zero, we have for the potential energy stored in the springs the following equation

                                                                                      (1.7)

The total potential for the system is then

                                                                        (1.8)

 

Having both the total kinetic and potential energy of the system, we can now write the Lagrangian, L=T-U.

 

           (1.9)

 

Let’s start with taking derivatives for the x coordinate

 

                                                                        (1.10)

 

                                                                                                                  (1.11)

 

For the μ coordinate we have the following derivatives

                                                      (1.12)

 

                                                                                                  (1.13)

 

Assembling equations (1.10) - (1.13), we have the final equations of motions

 

                                                                                            (1.14)

                                                                            (1.15)