Strong magnets and radio waves are used in magnetic resonance imaging (MRI), a potent diagnostic technique…