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