pi / | | 1 | ----------- dx | 2 | 1 + cos (x) | / 0
Integral(1/(1 + cos(x)^2), (x, 0, pi))
/ /x pi\ \ / /x pi\ \
| |- - --| | | |- - --| |
/ ___ | |2 2 | / ___ /x\\| ___ | |2 2 | / ___ /x\\|
| \/ 2 *|pi*floor|------| + atan|1 + \/ 2 *tan|-||| \/ 2 *|pi*floor|------| + atan|-1 + \/ 2 *tan|-|||
| 1 \ \ pi / \ \2/// \ \ pi / \ \2///
| ----------- dx = C + ------------------------------------------------- + --------------------------------------------------
| 2 2 2
| 1 + cos (x)
|
/
___ pi*\/ 2 -------- 2
=
___ pi*\/ 2 -------- 2
pi*sqrt(2)/2
Use the examples entering the upper and lower limits of integration.