A ball of mass m1 and velocity v moves in the direction of +x and makes a central elastic collision with another ball, which is initially at rest and has mass m2, as shown in Figure.Write MATLAB GUI, to perform a simulation and animation of the system for the given m1, m2, and v.(we made a simulation in matlab.but the program did not work properly )

## Comments

## Leave a comment