How Do You Write a Hamiltonian Function for Specific Dynamical Systems?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 3K views
dekarman
Messages
7
Reaction score
0
Hi,

I need some help in writing the Hamiltonian function for the following dynamical systems.

1) u''+u=A (1+2*u+3*u^2)

2) u''+u=A/((1-u)^2);

In both cases A is a constant and u is a function of t.

Any help would be greatly appreciated.

Thank you.

Manish
 
Physics news on Phys.org
You can write out Lagrange's equations and integrate in order to solve for the Lagrangian. Then proceed in the usual manner to get the Hamiltonian.
 
Hi Thanks Dalespam,

Actually, I am facing trouble in solving certain dynamical system. You can refer to my new thread titled "Discrepancy in the solution of a nonlinear dynamical system".