Total energy at any instant of time in the steady state is
From problem 5 we know that the average power dissipated
Thus the minimum of Q occurs at resonance when p = ω and the minimum value is ω/2b.Quality factor at resonance = sharpness of resonance.