Is My Solution to the Driven Spring Problem Correct?

1 reply · 2K views · last reply
member 731016
Homework Statement
Please see below
Relevant Equations
Please see below
For this problem,
Textbook problem 10 on a driven spring: a mass m on a spring k attached to an oscillating wall, with parts (a) to (d) asking for the Lagrangian, momentum, Hamiltonian and Hamilton's equations, plus a diagram of the wall, spring D and mass m.

For part(a), I am not sure if I am solving it correctly. I define the usual cartesian x-y coordinate system at the base of the wall. This gives ##x = l_0 + q(t) + x_w(t) = l_0 + q(t) + d\sin(\gamma t)## which implies that ##\dot x = \dot q + d \gamma \cos (\gamma t)##

Therefore ##L = T - V = \frac{1}{2}m(\dot q + d \gamma \cos (\gamma t))^2 - 0.5kq^2##.

Is this please correct?

Thanks!
 
ChiralSuperfields said:
For part(a), I am not sure if I am solving it correctly. I define the usual cartesian x-y coordinate system at the base of the wall. This gives ##x = l_0 + q(t) + x_w(t) = l_0 + q(t) + d\sin(\gamma t)## which implies that ##\dot x = \dot q + d \gamma \cos (\gamma t)##

Therefore ##L = T - V = \frac{1}{2}m(\dot q + d \gamma \cos (\gamma t))^2 - 0.5kq^2##.

Is this please correct?

Thanks!
Yes, it looks correct.
 
  • Like
  • Love
Likes   Reactions: MatinSAR and member 731016