A bar magnet of mass 120 g in the form of a rectangular parallelepiped, has dimensions \( l = 40 \, \text{mm}, b = 100 \, \text{mm} \) and \( h = 80 \, \text{mm} \), with its dimension ‘h’ vertical, the magnet performs angular oscillations in the plane of the magnetic field with period \( \pi \) seconds. If the magnetic moment is 3.4 Am\(^2\), determine the influencing magnetic field.