Does This Lagrange's Equation for a Spring Pendulum Look Correct?

  • Thread starter Thread starter superpig10000
  • Start date Start date
  • Tags Tags
    Lagrange's equation
Click For Summary
The discussion focuses on deriving Lagrange's equations for a spring pendulum, where a mass m is attached to a massless spring. The initial setup includes expressions for kinetic and potential energy, leading to a proposed equation of motion. However, it is noted that the length of the pendulum is variable due to the spring's extension, suggesting the use of two generalized coordinates: the angle theta and the spring's stretch u. Corrections are recommended for the kinetic energy term and the formulation of Lagrangian in terms of these variables. The final advice emphasizes the importance of correctly expressing the kinetic and potential energies to derive accurate equations of motion.
superpig10000
Messages
7
Reaction score
0
A pendulum consists of a mass m suspended by a massless spring with unextended length b and. spring constant k. Find Lagrange’s equations of motion

Here's how I set up my equation:

x = lsin(theta)
y = -lcos(theta)

(x=0 at equilibrium, y=0 at the point wehre the pendulum is hung from)

Kinetic energy = 1/2 * m * l^2 * (theta dot)^2
Potential energy = -mglcos(theta) + 1/2 kl^2
L = K - U

So after differentiating, I come up with:
theta double dot = w^2 sin (theta)

Does that look right to you?

I appreciate any help.
 
Physics news on Phys.org
Can anyone help?
 
Since the mass is attached to a spring, the length l of the pendulum is not constant.
 
With Lagrangian problems you should always consider the degrees of freedom of the system and decide on which coordinates to use to decribe the configuration of the system. In this case the angle theta is a good choice. For the other the distance the spring is stretched from equilibrium seems like another good one, call it u. So the length of your pendulum is the rest length of the spring plus u. Then express L in terms of these variables.
 
Your kinetic energy is also missing a term.
 
heres how i would solve the problem:
T = kinetic energy
U = potential energy

L is the displacement of the mass along the spring
O is the angular displacement of the pendulum

T = m*(L_dot^2)/2 + m*(L^2)(O_dot^2)/2
U = m*g*L(1-cos(O)) + k*(L^2)/2

plug into Lagrange's equation for two equations of motion (generalized coordinates are L and O)
 

Similar threads

  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 16 ·
Replies
16
Views
2K
Replies
9
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 21 ·
Replies
21
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
2
Views
3K
Replies
4
Views
4K