# Answer to Question #31417 in MatLAB | Mathematica | MathCAD | Maple for fatih

Question #31417

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 )

Expert's answer

## Comments

## Leave a comment