n - 2 / | | cos(x) | ------------ dx | 5 + 4*cos(x) | / 0
Integral(cos(x)/(5 + 4*cos(x)), (x, 0, n/2))
/ /x\\ /x pi\ |tan|-|| |- - --| / | \2/| |2 2 | | 5*atan|------| 5*pi*floor|------| | cos(x) \ 3 / x \ pi / | ------------ dx = C - -------------- + - - ------------------ | 5 + 4*cos(x) 6 4 6 | /
/ /n\\ / pi n\ |tan|-|| |- -- + -| | \4/| | 2 4| 5*atan|------| 5*pi*floor|--------| 5*pi \ 3 / n \ pi / - ---- - -------------- + - - -------------------- 6 6 8 6
=
/ /n\\ / pi n\ |tan|-|| |- -- + -| | \4/| | 2 4| 5*atan|------| 5*pi*floor|--------| 5*pi \ 3 / n \ pi / - ---- - -------------- + - - -------------------- 6 6 8 6
-5*pi/6 - 5*atan(tan(n/4)/3)/6 + n/8 - 5*pi*floor((-pi/2 + n/4)/pi)/6
Use the examples entering the upper and lower limits of integration.