I was given a homework assignment to find a closed solution for the nth derivative of the function:
$f(x) = e^x \sin x$
So far I have been able to obtain the derivative as:
$f^{(n)}(x) = e^x S_n \sin x + e^x C_n \cos x$
The sequences S and C are defined as below:
$S_n = S_{n-1} - C_{n-1}$
$C_n = S_{n-1} + C_{n-1}$
$S_0 = 1$, $C_0 = 0$
I have been able to further simply this by combining the two equations and obtaining:
$C_n = 2S_{n-2}$
$S_n = S_{n-1} - 2 S_{n-3}$
However, I have no idea what to do now. Can anyone help me find the closed form solution?