Nonlinear vibration analysis by an extended averaged equation approach