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