Elastic vs Perfectly Elastic Collision — One-dimensional carts

4
6
6
-2
A (m1) B (m2) u1 u2 p before: — p after: — KE before: — KE after: — e = — Mode: —
Cart A (m1)    Cart B (m2)    Impact glow    Velocity arrows
Ready: adjust masses and velocities, choose elasticity, then press Start.
Conceptual demo