The question: Let $f(x) = e^{-x}\sin(x)$. Calculate $f^{(2001)}(0)$.
Note that in the question, $f^{(n)}(x)$. means the $n$-th derivative of $f$.
I calculated the first six derivatives on zero and got:
$f^{(0)}(0) = 0$.
$f^{(1)}(0) = 1$.
$f^{(2)}(0) = -2$.
$f^{(3)}(0) = 2$.
$f^{(4)}(0) = 0$.
$f^{(5)}(0) = -4$.
$f^{(6)}(0) = 8$.
So, the pattern isn't pretty clear. Also, I thought that if $n$ is even, then:
$f^{(n)}(x) = -e^{-x}\cos(x) - f(x) + f^{(1)}(x) - f^{(2)}(x) + ... + f^{(n-3)}(x) - f^{(n-2)}(x) - f^{(n-1)}(x)$.
and $f^{(n - 1)}(x) = e^{-x}\cos(x) + f(x) - f^{(1)}(x) + f^{(2)}(x) + ... + f^{(n-4)}(x) - f^{(n-3)}(x) - f^{(n-2)}(x)$.
So by substituting $f^{(n - 1)}(x)$ in the first equation, we get:
$f^{(n)}(x) = -2(e^{-x}\cos(x) + f(x) - f^{(1)}(x) + f^{(2)}(x) + ... + f^{(n-4)}(x) - f^{(n-3)}(x))$
I tried to the same thing with $n$ being odd and tried to perform an induction to get a formula for the value of $f^{(n)}(x)$ but couldn't find a way to do so. Any ideas?