D SQRT ( (Y2-Y1) (Y2-Y1) + (x2-x1) (x2-x1) ) If (D r1 + r2) (... Bang ... )
D SQRT ( (Y2-Y1) (Y2-Y1) + (x2-x1) (x2-x1) ) If (D r1 + r2) (... Bang ... )
For the case of two colliding bodies in two-dimensions, the overall velocity of each body
must be split into two perpendicular velocities: one tangent to the common normal surfaces of
the colliding bodies at the point of contact, the other along the line of collision. Since the
collision only imparts force along the line of collision, the velocities that are tangent to the
point of collision do not change. The velocities along the line of collision can then be used in
the same equations as a one-dimensional collision. The final velocities can then be calculated
from the two new component velocities and will depend on the point of collision. Studies of
two-dimensional collisions are conducted for many bodies in the framework of a two-
dimensional gas.
two particles, and , are related to the angle of deflection θ in the system of the center of
mass by [2]