6Tricks or knowledge. If D is a constant, the particular solution xparticular = constant can be tried. The same goes for D = sin(ωt) where xparticular = A ⋅sin(ωt) + B ⋅cos(ωt) can be tried.