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