Two Particle Collision¶ Setup¶ Two spheres of masses m1,m2 Initial velocities u1→,u2→ Detection¶ TODO Handling¶ Conserving linear momentum, (1)¶m1u1+m2u2=m1v1+m2v2 By the definition of the coefficient of restitution, (2)¶v2−v1u1−u2=e From (1) and (2) Let, (3)¶Δu=e⋅(u1−u2) Then, (4)¶v1=m1u1+m2u2−Δum1+m2 (5)¶v2=Δu+v1