Collisions, Oscillation & Energy
Restitution, conservation of momentum, springs (Hooke’s law), pendulums and conservation of mechanical energy.
| Textbook model | Simplified game model |
|---|---|
Coefficient of Restitutionv′ = −e v hₙ = h₀ e²ⁿ | v′ = −e v; stop when speed is below a threshold |
Conservation of Momentum (Collisions)m₁v₁ + m₂v₂ = m₁v₁′ + m₂v₂′ | Assume equal masses and swap velocities |
Hooke’s Law and Simple Harmonic MotionF = −kx T = 2π√(m ÷ k) | Forward Euler (the amplitude grows over time) |
The Simple Pendulumθ″ = −(g ÷ L) sin θ small swings: T ≈ 2π√(L ÷ g) | Use sin θ ≈ θ: θ = θ₀ cos(√(g/L)·t) |
Conservation of Mechanical Energy½mv² + mgh = constant | Add gravity to velocity with Euler steps (energy drifts on slopes) |
Sources
- 文部科学省「平成29・30・31年改訂学習指導要領(本文、解説)」
- OpenStax, University Physics Volume 1 (CC BY 4.0)
- NIST, CODATA 2022 Fundamental Physical Constants
Checked: 2026-11-29