Question: How to calculate a governing equation from a functional using EulerLagrange command?


I need your help!

I have a function denoting the Kinetic energy.

I tried to derive a governing equation using  "Eulerlagrange" comment.

It is successful to obtain the equation at the coordinate of "Y(t)", but it fails to derive "w(Y(t),t)".

The associated file has been patched, please find it.

I'm forward to your response.

Thank you very much!

Please Wait...