2020-09-27 19:20:56 -05:00
..
2020-09-27 19:20:56 -05:00

MassSpringDamper

This program uses the SA::EulerCromerIntegrator to simulate a simple mass-spring-damper.

Generate the results as follows:

$ make
$ ./MassSpringDamper > msd.csv

Plot the results as follows:

$ python plot_position.py

and

$ python plot_velocity.py

MSD