Analyzing of Nonlinear Generalized Duffing Oscillators Using the Equivalent Linearization Method with a Weighted Averaging