$$\int_0^\pi\sin(2t)e^{-in2t} \, dt$$
wolfram alpha say the answer is
$$\frac{1-e^{-2 i n π}}{2-2 n^2}$$
although using the integral trig identity
$$\int \sin(bt)e^{at}\,dt=e^{at}\dfrac{1}{a^2+b^2}\left(a \sin(bt)-b \cos(bt)\right)$$
and the integral across the period of sine and cosine is 0.
I want to express this as a Fourier Series.
The trig identity is wrong
$$ \int \sin(ax) \exp(bx) dx = \frac{1}{a^2+b^2} \exp(bx) \Big( b \sin(ax) - a \cos(bx) \Big) $$