I am having trouble with an integral:
$$\frac2L\int_L^\infty C\sin\left(\frac{n\pi x}{L}\right) dx$$ Where $C$ is just a constant.
I can't see how to do this, despite it apparently being rather straight forward. Something isn't making sense.
$$\frac{2C}L\int_L^\infty \sin\left(\frac{n\pi x}{L}\right)dx$$ $$\frac{2C}L\left[-\frac{L}{n\pi}\cos\left(\frac{n\pi x}{L}\right)\right]_L^\infty$$
But already I can't see how I can compute a divergence $\cos$.
Thank you for listening.