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