pi / | | sin(x)*cos(n*x) dx | / 0
// 2 \
|| sin (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.