In a vibration magnetometer, the time period of a bar magnet oscillating in horizontal component of earth's magnetic field is 2 sec. When another magnet is brought near and parallel to it, then the time period reduces to 1 sec. The ratio of the horizontal component of earth's field and the field due to magnet will be