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