From d96dab1734351e1aa7a22f441de5228ec2868489 Mon Sep 17 00:00:00 2001 From: jmpenn Date: Sun, 27 Sep 2020 19:20:56 -0500 Subject: [PATCH] Update README.md --- .../examples/MassSpringDamper/README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/trick_source/trick_utils/SAIntegrator/examples/MassSpringDamper/README.md b/trick_source/trick_utils/SAIntegrator/examples/MassSpringDamper/README.md index 8794bc29..92e331ee 100644 --- a/trick_source/trick_utils/SAIntegrator/examples/MassSpringDamper/README.md +++ b/trick_source/trick_utils/SAIntegrator/examples/MassSpringDamper/README.md @@ -3,20 +3,21 @@ 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](images/MSD.png)