1 / | | 1 | ------------- dx | 2 | cos (k*x + b) | / 0
Integral(1/(cos(k*x + b)^2), (x, 0, 1))
// / / -pi pi \ / pi \\\ || zoo*x for And|Or|b = ----, b = - -- - k*x|, Or|b = - -- - k*x, k = 0||| || \ \ 2 2 / \ 2 //| || | || x | / || ------- for k = 0 | | || 2 | | 1 || cos (b) | | ------------- dx = C + |< | | 2 || /b k*x\ | | cos (k*x + b) || -2*tan|- + ---| | | || \2 2 / | / ||-------------------- otherwise | || 2/b k*x\ | ||-k + k*tan |- + ---| | || \2 2 / | \\ /
/ / -pi \ | nan for And|b = ----, k = 0| | \ 2 / | | 1 | / | | | | / pi | | | 0 for b = - -- - k*x | | | 2 | | | | | < 1 dx for k = 0 | | |------- otherwise | | | 2 | | |cos (b) | | \ | | | / | 0 < | 1 | / | | | | / pi | | | 0 for b = - -- - k*x | | | 2 | | | | | | / 2/b k*x\\ 2 2/b k*x\ / 2/b k*x\\ | | | k*|1 + tan |- + ---|| 2*k *tan |- + ---|*|1 + tan |- + ---|| | | < \ \2 2 // \2 2 / \ \2 2 // dx otherwise | | |- --------------------- + -------------------------------------- otherwise | | | 2/b k*x\ 2 | | | -k + k*tan |- + ---| / 2/b k*x\\ | | | \2 2 / |-k + k*tan |- + ---|| | | | \ \2 2 // | | \ | | |/ \0
=
/ / -pi \ | nan for And|b = ----, k = 0| | \ 2 / | | 1 | / | | | | / pi | | | 0 for b = - -- - k*x | | | 2 | | | | | < 1 dx for k = 0 | | |------- otherwise | | | 2 | | |cos (b) | | \ | | | / | 0 < | 1 | / | | | | / pi | | | 0 for b = - -- - k*x | | | 2 | | | | | | / 2/b k*x\\ 2 2/b k*x\ / 2/b k*x\\ | | | k*|1 + tan |- + ---|| 2*k *tan |- + ---|*|1 + tan |- + ---|| | | < \ \2 2 // \2 2 / \ \2 2 // dx otherwise | | |- --------------------- + -------------------------------------- otherwise | | | 2/b k*x\ 2 | | | -k + k*tan |- + ---| / 2/b k*x\\ | | | \2 2 / |-k + k*tan |- + ---|| | | | \ \2 2 // | | \ | | |/ \0
Piecewise((nan, (k = 0)∧(b = -pi/2)), (Integral(Piecewise((0, b = -pi/2 - k*x), (cos(b)^(-2), True)), (x, 0, 1)), k = 0), (Integral(Piecewise((0, b = -pi/2 - k*x), (-k*(1 + tan(b/2 + k*x/2)^2)/(-k + k*tan(b/2 + k*x/2)^2) + 2*k^2*tan(b/2 + k*x/2)^2*(1 + tan(b/2 + k*x/2)^2)/(-k + k*tan(b/2 + k*x/2)^2)^2, True)), (x, 0, 1)), True))
Use the examples entering the upper and lower limits of integration.