φ̈ + 2γφ̇ + ω₀²φ = f(t),
We know the analytical solution is:
φ(t) = A e^(-γt) cos(ωᵣt + δ) + A_f cos(ωt + δ_f),
ωᵣ= √(ω₀² - γ²)
where A_f and δ_f don't depend on initial values.
We see that with time, the first term goes to zero.
So we will solve for A_f(ω)