mirror of
https://github.com/nasa/trick.git
synced 2024-12-24 07:16:41 +00:00
Update README.md
This commit is contained in:
parent
374d500f78
commit
d96dab1734
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user