Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tatamiya/be21a1dcfbdb8e1f1498ef432dcc5043 to your computer and use it in GitHub Desktop.
Save tatamiya/be21a1dcfbdb8e1f1498ef432dcc5043 to your computer and use it in GitHub Desktop.
Compare the phase space trajectory of the leap-frog method with the strict solution by simulating 1D harmonic oscillator
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment