Question

In which condition does the resonance-occur? if the natural frequency and the input frequency are equal:

Fig: 1

Fig: 2