Calculating a Taylor Polynomial of a mystery function I need to calculate a taylor polynomial for a function $f:\mathbb{R} \to \mathbb{R}$ where we know the following
$$f\text{ }''(x)+f(x)=e^{-x} \text{ } \forall x$$ $$f(0)=0$$ $$f\text{ }'(0)=2$$
How would I even start?

This is a 2nd order linear non-homogeneous ODE with solution $f(x)=\frac{-1}{2}\cos x + \frac{5}{2} \sin x + \frac{1}{2} e^{-x}$. With the Taylor series for $\sin(x),\cos(x),$ and $e^{-x}$ in hand, you should be able to compute the series for $f$ straightforwardly.
