- #1
Zamarripa
- 11
- 0
Homework Statement
We have a mas m attached to a vertical spring of length (l+x) where l is the natural length.
Homework Equations
Find the Lagrangian and the hamiltonian of the system if it moves like a pendulum
The Attempt at a Solution
we know that the lagrangian of a system is defined as:
L=T-V
T=mv2/2
V=mgy-[kr2/2]
where
x1=(l+x)sinθ
y1=(l+x)cosθ
would you chose your variables the same way?