With forcing f = cos(ωt), the particular solution is Y*cos(ωt). But if the forcing frequency equals the natural frequency there is resonance