Skip to content

Commit b062d19

Browse files
Create README.md
1 parent 1fae638 commit b062d19

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

examples/TwoBodies/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
### Two‑Body System Demo
2+
3+
This example builds a simple **two‑body gravitational system** by hand.
4+
One massive body is placed at the origin, and a lighter body is positioned at distance `5` with an initial tangential velocity, forming an orbital pair.
5+
6+
### Running this example from this directory
7+
8+
```bash
9+
python two_body.py
10+
../../next two_body.txt 0.01 1
11+
```

0 commit comments

Comments
 (0)