Message Boards Message Boards

Discrete damped harmonic oscillator

comparing discrete and analytical solutions of undamped harmonic oscillator via the discrete Lagrangian

Attachments:
POSTED BY: Brian Beckman
3 Replies

How does your approach compare to using SymplecticPartitionedRungeKutta or the “Projection" Method for NDSolve?

POSTED BY: Paul Abbott

I allowed NDSolve to automatically pick its solution method for this Euler-Lagrange equation. I have explored symplectic methods in notebooks I'm preparing for the future on the Kepler problem (following "Moving Planets Around") and for the Inverted Spherical Pendulum but don't yet have anything to report about them in general.

In my current series of notebooks (upcoming soon: the symmetric top), I'm focusing on discrete Lagrangians and using NDSolve only as a "source of truth" to compare against my discrete solutions. While numerical integration of the Euler-Lagrange equations is a deep and interesting topic, I am "taking the tangent" of integrating by discretizing the Lagrangians and computing algebraic recurrences. Such methods are guaranteed to be "on the manifold." I'm exploring the promise that they can be applied generally without generating a large "choice space" of integration methods, as does the standard numerical approach.

POSTED BY: Brian Beckman

enter image description here -- you have earned Featured Contributor Badge enter image description here Your exceptional post has been selected for our editorial column Staff Picks http://wolfr.am/StaffPicks and Your Profile is now distinguished by a Featured Contributor Badge and is displayed on the Featured Contributor Board. Thank you!

POSTED BY: Moderation Team
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract