As the title says, I need to write $\frac{d^3y}{dx^3}-\frac{dy}{dx}+y=\cos(x)$ in the following matrix form $x'=Ax+f$
I've rearranged the equation to be in that form, but how do I extract my coefficient matrix, $A$, from this and how should I handle the $\frac{d^3y}{dx^3}$?
So far I just have:
$\frac{dy}{dx}=y+\frac{d^3y}{dx^3}-\cos(x)$
Hint: Let:
$$x_1 = y, x_2 = y', x_3 = y''$$
Now we have:
Can you finish it off?