1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Symplectic integrators of the pendulum equation?

  1. May 21, 2012 #1
    In particular, a symplectic integrator to solve:

    [itex]\ddot{\theta} + \dfrac{g}{l} \sin(\theta) = 0[/itex]

    I'm currently using velocity verlet - by realizing that

    [itex]\ddot{\theta} = -\nabla (-cos(\theta)) = A(\theta(t))[/itex]

    ie. letting x = theta
    v = dtheta/dt
    a = d^2 theta /dt^2

    is it safe to apply verlet integration to generalized coordinates? In particular, does this hold true for a generalized coordinate theta:

    [itex]\theta_{t+dt} \approx \theta_t + \dot{\theta}_t dt + \frac{1}{2} \ddot{\theta}_t (dt)^2[/itex]
    Last edited: May 22, 2012
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted