Find the general solution of x'=(2, 1, -5, -2)x+(-cos(t), sin(t)).

(this is 2x2 matrix with 2 and 1 on the left, -5 and -2 on the right. And -cos(t) on top, sin(t) on bottom. I've found the answer for the 2x2 matrix but have trouble finding it for the other part. I want to solve it using undetermined coefficients but I don't know what should the form be.

## Comments

^{-1}. Then if b is the inhomogeneous term, the inhomogeneous part of the solution is given by^{-1}b dt.