Mass, m1 is travelling along a smooth, level track towards mass m2 which is stationary. m2 then strikes mass m3
All collisions are perfectly elastic, and all motion is along the same line.
Calculate m2 in terms of m1 and m3 which results in m3 having the highest possible velocity, for any given initial velocity of m1
Attempt at a solution
I think I have to use conservation of momentum (p=mv) and conservation of energy (E=0.5mv2)
I thought I would just have to do some substitution and rearranging but after about half an hour I've gotten nowhere.
If this is what I have to do, please help me get started, if not please try to help me to understand what I have to do.