A bar magnet of mass \(120 g\) in the form of a rectangular parallelopiped, has dimensions \(l=40 mm\), \(b=10 mm\) and \(h=80 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.