Two bar magnets oscillates in a horizontal plane in earth’s magnetic field with time periods of \( 3 \, \text{s} \) and \( 4 \, \text{s} \) respectively. If their moments of inertia are in the ratio of \( 3 : 2 \), then the ratio of their magnetic moments will be: