Two balls of mass m1 and m2 can slide without friction along a straight rod. The balls are
connected with a light spring of stiffness k. Ball 1 is given an initial velocity V0. Find
(a) the frequency of small oscillations;
(b) the energy and amplitude of small oscillations.