Inhomogeneous ordinary differential equation