The combination of two bar magnets makes 10 oscillations per second in an oscillation magnetometer when like poles are tied together and 2 oscillations per second when unlike poles are tied together. Find the ratio of the magnetic moments of the magnets. Neglect any induced magnetism.