A theoretical model and experimental validation of the oscillations of a para- or dia-magnetic beam subject to the effects of passive magnetic elements