Approximate periodic solutions to MEMS oscillator subject to magnetostatic excitation