An end-to-end collision of two elastic rods of the same cross-section takes
place. Considering the compression waves generated by the impact and their
reflection from the free ends, prove that the result of the collision is the same
as in a frontal absolutely elastic collision of bodies if the ratio of lengths of
rods equals the ratio of speeds of sound in these rods.