1 / | | /n*pi*x\ | sin|------| dx | \ l / | / 0
/ // /pi*n*x\ \ | ||-l*cos|------| | | /n*pi*x\ || \ l / | | sin|------| dx = C + |<--------------- for n != 0| | \ l / || pi*n | | || | / \\ 0 otherwise /
/ /pi*n\ | l*cos|----| | l \ l / pi*n <---- - ----------- for ---- != 0 |pi*n pi*n l | \ 0 otherwise
=
/ /pi*n\ | l*cos|----| | l \ l / pi*n <---- - ----------- for ---- != 0 |pi*n pi*n l | \ 0 otherwise
Use the examples entering the upper and lower limits of integration.