l / | | sin(n*pi*x) | ----------- dx | l | / 0
Integral(sin((n*pi)*x)/l, (x, 0, l))
/ 0 for n = 0
|
/ <-cos(n*pi*x)
| |------------- otherwise
| sin(n*pi*x) \ pi*n
| ----------- dx = C + -------------------------
| l l
|
/
/ 1 cos(pi*l*n) |------ - ----------- for And(n > -oo, n < oo, n != 0)
=
/ 1 cos(pi*l*n) |------ - ----------- for And(n > -oo, n < oo, n != 0)
Piecewise((1/(pi*l*n) - cos(pi*l*n)/(pi*l*n), (n > -oo)∧(n < oo)∧(Ne(n, 0))), (0, True))
Use the examples entering the upper and lower limits of integration.