# Lagrangian mechanics problem:

## Homework Statement

Write the lagrangian equations for:

A simple pendulum whose suspension point oscillates horizontally in its plan according to the law

x = a.cos(ωt)

My problem is trying to know which are the generalized coordinates.

i considered :

x (θ) = a.cos(ωt) + l.sinθ

y (θ) = l.cos θ

Is that correct?

Last edited:

TSny
Homework Helper
Gold Member
That looks good. But to be specific, what is (or are) your generalized coordinate(s)?

θ isnt it?

TSny
Homework Helper
Gold Member
Right. I was just making sure. Thanks.

Right. I was just making sure. Thanks.

ok thanks for the help.