MAE5790-11 Averaging theory for weakly nonlinear oscillators