Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 376 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 376 Bytes

Velocity-Verlet

Description

Implement Velocity Verlet for simple harmonic oscillation

  • $m = 1\text{kg}$
  • $k = 200 \text{N} / \text{m}^2$

Build Process

# If there is no data directory
mkdir data

# Build & Run
cargo run --release

# Plot
python nc_plot.py

Result

position

velocity

energy