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