Skip to content

kubic71/harmonic-sim

Repository files navigation

Harmonic oscillator simulation

Simulates (dampened) harmonic oscillators we all learned about in highschool physics classes. Namely:

  • weight on a spring
  • pendulum

The deflection is plotted as a function of time.

Setup

pip install -r requirements.txt

Running

$ python simulation.py

Weight on a spring

spring

Pendulum

spring

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages