Resonant stimulation and control of nonlinear oscillators