I assume$~n\in\mathbb{N}_{\geq0}~$is held.
$$y=\exp\left(x\right)\sin^{}\left(x\right)$$
$$\left(f\cdot g\right)^{\left(n\right)}=\sum_{k=0}^{n}{n\choose k}g^{\left(k\right)}f^{\left(n-k\right)}$$
\begin{equation*}%uasge:&smth\\. . Dont write symbol of line break at the end of row \begin{cases} f:=\sin^{}\left(x\right)\\ g:=\exp\left(x\right)\\ \end{cases} \end{equation*}
$$f^{\left(i\right)}=\sin^{}\left(x+\frac{i\pi}{2}\right)$$
$$g^{\left(i\right)}=\exp\left(x\right)$$
$$\frac{d^{n}y}{dx^{n}}=\left(f\cdot g\right)^{\left(n\right)}=\sum_{k=0}^{n}{n\choose k}\exp\left(x\right)\sin^{}\left(x+\frac{k\pi}{2}\right)$$
$$=\exp\left(x\right)\underbrace{\sum_{k=0}^{n}\sin^{}\left(x+\frac{k\pi}{2}\right){n\choose k}}_\text{How can I handle this?}$$
$$=\exp\left(x\right)\underbrace{\left(\sqrt{2}\right)^{n}\sin^{}\left(x+\frac{n\pi}{4}\right)}_\text{I want to derive this}$$
By the way, I know the following equation. It may not to be applicable here though.
$$\sum_{k=0}^{n}{n\choose k}=2^{n}$$
ADD
I've been looking this post
$$\underbrace{\left(i+1\right)^{n}=\sum_{k=0}^{n}{n\choose k}i^{n}}_\text{This has been on that post}~~\leftarrow~~i~\text{is an imaginary number}$$
The binomial theorem is as below one.
$$\left(a+b\right)^{n}=\sum_{k=0}^{n}{n\choose k}a^{k}b^{n-k}$$
So in this case,$~a=i,b=1~$can be thought.
$$\therefore~~\left(i+1\right)^{n}=\sum_{k=0}^{n}{n\choose k}i^{n-k}\cdot 1^{k}=\sum_{k=0}^{n}{n\choose k}i^{k}\cdot 1^{n-k}$$
$$=\sum_{k=0}^{n}{n\choose k}i^{n-k}=\sum_{k=0}^{n}{n\choose k}i^{k}$$
So I thought the index on the right shoulder should be$~k~$,not$~n~$
Or the following equation can be held?
$$\sum_{k=0}^{n}{n\choose k}i^{k}=\sum_{k=0}^{n}{n\choose k}i^{n}$$
By the way, I got the following.
$$\left(i+1\right)^{n}=\left(\sqrt{2}\right)^{n}\left(\frac{1}{\sqrt{2}}+\frac{i}{\sqrt{2}}\right)^{n}$$
$$=\left(\sqrt{2}\right)^{n}\left(\cos^{}\left(\frac{\pi}{4}\right)+i\sin^{}\left(\frac{\pi}{4}\right)\right)^{n}$$
$$=\left(\sqrt{2}\right)^{n}\left(\cos^{}\left(\frac{n\pi}{4}\right)+i\sin^{}\left(\frac{n\pi}{4}\right)\right)$$
$$=\left(\sqrt{2}\right)^{n}\cdot\exp\left(\frac{i n\pi}{4}\right)$$