\(\int x \cos (a+b x) \text {Si}(c+d x) \, dx\) [66]
Optimal result
Integrand size = 14, antiderivative size = 370 \[
\int x \cos (a+b x) \text {Si}(c+d x) \, dx=\frac {c \cos \left (a-\frac {b c}{d}\right ) \operatorname {CosIntegral}\left (\frac {c (b-d)}{d}+(b-d) x\right )}{2 b d}-\frac {c \cos \left (a-\frac {b c}{d}\right ) \operatorname {CosIntegral}\left (\frac {c (b+d)}{d}+(b+d) x\right )}{2 b d}+\frac {\operatorname {CosIntegral}\left (\frac {c (b-d)}{d}+(b-d) x\right ) \sin \left (a-\frac {b c}{d}\right )}{2 b^2}-\frac {\operatorname {CosIntegral}\left (\frac {c (b+d)}{d}+(b+d) x\right ) \sin \left (a-\frac {b c}{d}\right )}{2 b^2}-\frac {\sin (a-c+(b-d) x)}{2 b (b-d)}+\frac {\sin (a+c+(b+d) x)}{2 b (b+d)}+\frac {\cos \left (a-\frac {b c}{d}\right ) \text {Si}\left (\frac {c (b-d)}{d}+(b-d) x\right )}{2 b^2}-\frac {c \sin \left (a-\frac {b c}{d}\right ) \text {Si}\left (\frac {c (b-d)}{d}+(b-d) x\right )}{2 b d}+\frac {\cos (a+b x) \text {Si}(c+d x)}{b^2}+\frac {x \sin (a+b x) \text {Si}(c+d x)}{b}-\frac {\cos \left (a-\frac {b c}{d}\right ) \text {Si}\left (\frac {c (b+d)}{d}+(b+d) x\right )}{2 b^2}+\frac {c \sin \left (a-\frac {b c}{d}\right ) \text {Si}\left (\frac {c (b+d)}{d}+(b+d) x\right )}{2 b d}
\]
[Out]
1/2*c*Ci(c*(b-d)/d+(b-d)*x)*cos(a-b*c/d)/b/d-1/2*c*Ci(c*(b+d)/d+(b+d)*x)*cos(a-b*c/d)/b/d+1/2*cos(a-b*c/d)*Si(
c*(b-d)/d+(b-d)*x)/b^2+cos(b*x+a)*Si(d*x+c)/b^2-1/2*cos(a-b*c/d)*Si(c*(b+d)/d+(b+d)*x)/b^2+1/2*Ci(c*(b-d)/d+(b
-d)*x)*sin(a-b*c/d)/b^2-1/2*Ci(c*(b+d)/d+(b+d)*x)*sin(a-b*c/d)/b^2-1/2*c*Si(c*(b-d)/d+(b-d)*x)*sin(a-b*c/d)/b/
d+1/2*c*Si(c*(b+d)/d+(b+d)*x)*sin(a-b*c/d)/b/d+x*Si(d*x+c)*sin(b*x+a)/b-1/2*sin(a-c+(b-d)*x)/b/(b-d)+1/2*sin(a
+c+(b+d)*x)/b/(b+d)
Rubi [A] (verified)
Time = 0.95 (sec) , antiderivative size = 370, normalized size of antiderivative = 1.00, number of
steps used = 24, number of rules used = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.643, Rules used = {6654, 4704, 6874, 2717, 3384,
3380, 3383, 6646, 4515} \[
\int x \cos (a+b x) \text {Si}(c+d x) \, dx=\frac {\sin \left (a-\frac {b c}{d}\right ) \operatorname {CosIntegral}\left (x (b-d)+\frac {c (b-d)}{d}\right )}{2 b^2}-\frac {\sin \left (a-\frac {b c}{d}\right ) \operatorname {CosIntegral}\left (x (b+d)+\frac {c (b+d)}{d}\right )}{2 b^2}+\frac {\cos \left (a-\frac {b c}{d}\right ) \text {Si}\left (x (b-d)+\frac {c (b-d)}{d}\right )}{2 b^2}+\frac {\cos (a+b x) \text {Si}(c+d x)}{b^2}-\frac {\cos \left (a-\frac {b c}{d}\right ) \text {Si}\left (x (b+d)+\frac {c (b+d)}{d}\right )}{2 b^2}+\frac {c \cos \left (a-\frac {b c}{d}\right ) \operatorname {CosIntegral}\left (x (b-d)+\frac {c (b-d)}{d}\right )}{2 b d}-\frac {c \cos \left (a-\frac {b c}{d}\right ) \operatorname {CosIntegral}\left (x (b+d)+\frac {c (b+d)}{d}\right )}{2 b d}-\frac {c \sin \left (a-\frac {b c}{d}\right ) \text {Si}\left (x (b-d)+\frac {c (b-d)}{d}\right )}{2 b d}+\frac {x \sin (a+b x) \text {Si}(c+d x)}{b}+\frac {c \sin \left (a-\frac {b c}{d}\right ) \text {Si}\left (x (b+d)+\frac {c (b+d)}{d}\right )}{2 b d}-\frac {\sin (a+x (b-d)-c)}{2 b (b-d)}+\frac {\sin (a+x (b+d)+c)}{2 b (b+d)}
\]
[In]
Int[x*Cos[a + b*x]*SinIntegral[c + d*x],x]
[Out]
(c*Cos[a - (b*c)/d]*CosIntegral[(c*(b - d))/d + (b - d)*x])/(2*b*d) - (c*Cos[a - (b*c)/d]*CosIntegral[(c*(b +
d))/d + (b + d)*x])/(2*b*d) + (CosIntegral[(c*(b - d))/d + (b - d)*x]*Sin[a - (b*c)/d])/(2*b^2) - (CosIntegral
[(c*(b + d))/d + (b + d)*x]*Sin[a - (b*c)/d])/(2*b^2) - Sin[a - c + (b - d)*x]/(2*b*(b - d)) + Sin[a + c + (b
+ d)*x]/(2*b*(b + d)) + (Cos[a - (b*c)/d]*SinIntegral[(c*(b - d))/d + (b - d)*x])/(2*b^2) - (c*Sin[a - (b*c)/d
]*SinIntegral[(c*(b - d))/d + (b - d)*x])/(2*b*d) + (Cos[a + b*x]*SinIntegral[c + d*x])/b^2 + (x*Sin[a + b*x]*
SinIntegral[c + d*x])/b - (Cos[a - (b*c)/d]*SinIntegral[(c*(b + d))/d + (b + d)*x])/(2*b^2) + (c*Sin[a - (b*c)
/d]*SinIntegral[(c*(b + d))/d + (b + d)*x])/(2*b*d)
Rule 2717
Int[sin[Pi/2 + (c_.) + (d_.)*(x_)], x_Symbol] :> Simp[Sin[c + d*x]/d, x] /; FreeQ[{c, d}, x]
Rule 3380
Int[sin[(e_.) + (f_.)*(x_)]/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[SinIntegral[e + f*x]/d, x] /; FreeQ[{c, d,
e, f}, x] && EqQ[d*e - c*f, 0]
Rule 3383
Int[sin[(e_.) + (f_.)*(x_)]/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[CosIntegral[e - Pi/2 + f*x]/d, x] /; FreeQ
[{c, d, e, f}, x] && EqQ[d*(e - Pi/2) - c*f, 0]
Rule 3384
Int[sin[(e_.) + (f_.)*(x_)]/((c_.) + (d_.)*(x_)), x_Symbol] :> Dist[Cos[(d*e - c*f)/d], Int[Sin[c*(f/d) + f*x]
/(c + d*x), x], x] + Dist[Sin[(d*e - c*f)/d], Int[Cos[c*(f/d) + f*x]/(c + d*x), x], x] /; FreeQ[{c, d, e, f},
x] && NeQ[d*e - c*f, 0]
Rule 4515
Int[Cos[(c_.) + (d_.)*(x_)]^(q_.)*((e_.) + (f_.)*(x_))^(m_.)*Sin[(a_.) + (b_.)*(x_)]^(p_.), x_Symbol] :> Int[E
xpandTrigReduce[(e + f*x)^m, Sin[a + b*x]^p*Cos[c + d*x]^q, x], x] /; FreeQ[{a, b, c, d, e, f, m}, x] && IGtQ[
p, 0] && IGtQ[q, 0]
Rule 4704
Int[(u_.)*Sin[(a_.) + (b_.)*(x_)]^(m_.)*Sin[(c_.) + (d_.)*(x_)]^(n_.), x_Symbol] :> Int[ExpandTrigReduce[u, Si
n[a + b*x]^m*Sin[c + d*x]^n, x], x] /; FreeQ[{a, b, c, d}, x] && IGtQ[m, 0] && IGtQ[n, 0]
Rule 6646
Int[Sin[(a_.) + (b_.)*(x_)]*SinIntegral[(c_.) + (d_.)*(x_)], x_Symbol] :> Simp[(-Cos[a + b*x])*(SinIntegral[c
+ d*x]/b), x] + Dist[d/b, Int[Cos[a + b*x]*(Sin[c + d*x]/(c + d*x)), x], x] /; FreeQ[{a, b, c, d}, x]
Rule 6654
Int[Cos[(a_.) + (b_.)*(x_)]*((e_.) + (f_.)*(x_))^(m_.)*SinIntegral[(c_.) + (d_.)*(x_)], x_Symbol] :> Simp[(e +
f*x)^m*Sin[a + b*x]*(SinIntegral[c + d*x]/b), x] + (-Dist[d/b, Int[(e + f*x)^m*Sin[a + b*x]*(Sin[c + d*x]/(c
+ d*x)), x], x] - Dist[f*(m/b), Int[(e + f*x)^(m - 1)*Sin[a + b*x]*SinIntegral[c + d*x], x], x]) /; FreeQ[{a,
b, c, d, e, f}, x] && IGtQ[m, 0]
Rule 6874
Int[u_, x_Symbol] :> With[{v = ExpandIntegrand[u, x]}, Int[v, x] /; SumQ[v]]
Rubi steps \begin{align*}
\text {integral}& = \frac {x \sin (a+b x) \text {Si}(c+d x)}{b}-\frac {\int \sin (a+b x) \text {Si}(c+d x) \, dx}{b}-\frac {d \int \frac {x \sin (a+b x) \sin (c+d x)}{c+d x} \, dx}{b} \\ & = \frac {\cos (a+b x) \text {Si}(c+d x)}{b^2}+\frac {x \sin (a+b x) \text {Si}(c+d x)}{b}-\frac {d \int \frac {\cos (a+b x) \sin (c+d x)}{c+d x} \, dx}{b^2}-\frac {d \int \left (\frac {x \cos (a-c+(b-d) x)}{2 (c+d x)}-\frac {x \cos (a+c+(b+d) x)}{2 (c+d x)}\right ) \, dx}{b} \\ & = \frac {\cos (a+b x) \text {Si}(c+d x)}{b^2}+\frac {x \sin (a+b x) \text {Si}(c+d x)}{b}-\frac {d \int \left (-\frac {\sin (a-c+(b-d) x)}{2 (c+d x)}+\frac {\sin (a+c+(b+d) x)}{2 (c+d x)}\right ) \, dx}{b^2}-\frac {d \int \frac {x \cos (a-c+(b-d) x)}{c+d x} \, dx}{2 b}+\frac {d \int \frac {x \cos (a+c+(b+d) x)}{c+d x} \, dx}{2 b} \\ & = \frac {\cos (a+b x) \text {Si}(c+d x)}{b^2}+\frac {x \sin (a+b x) \text {Si}(c+d x)}{b}+\frac {d \int \frac {\sin (a-c+(b-d) x)}{c+d x} \, dx}{2 b^2}-\frac {d \int \frac {\sin (a+c+(b+d) x)}{c+d x} \, dx}{2 b^2}-\frac {d \int \left (\frac {\cos (a-c+(b-d) x)}{d}-\frac {c \cos (a-c+(b-d) x)}{d (c+d x)}\right ) \, dx}{2 b}+\frac {d \int \left (\frac {\cos (a+c+(b+d) x)}{d}-\frac {c \cos (a+c+(b+d) x)}{d (c+d x)}\right ) \, dx}{2 b} \\ & = \frac {\cos (a+b x) \text {Si}(c+d x)}{b^2}+\frac {x \sin (a+b x) \text {Si}(c+d x)}{b}-\frac {\int \cos (a-c+(b-d) x) \, dx}{2 b}+\frac {\int \cos (a+c+(b+d) x) \, dx}{2 b}+\frac {c \int \frac {\cos (a-c+(b-d) x)}{c+d x} \, dx}{2 b}-\frac {c \int \frac {\cos (a+c+(b+d) x)}{c+d x} \, dx}{2 b}+\frac {\left (d \cos \left (a-\frac {b c}{d}\right )\right ) \int \frac {\sin \left (\frac {c (b-d)}{d}+(b-d) x\right )}{c+d x} \, dx}{2 b^2}-\frac {\left (d \cos \left (a-\frac {b c}{d}\right )\right ) \int \frac {\sin \left (\frac {c (b+d)}{d}+(b+d) x\right )}{c+d x} \, dx}{2 b^2}+\frac {\left (d \sin \left (a-\frac {b c}{d}\right )\right ) \int \frac {\cos \left (\frac {c (b-d)}{d}+(b-d) x\right )}{c+d x} \, dx}{2 b^2}-\frac {\left (d \sin \left (a-\frac {b c}{d}\right )\right ) \int \frac {\cos \left (\frac {c (b+d)}{d}+(b+d) x\right )}{c+d x} \, dx}{2 b^2} \\ & = \frac {\operatorname {CosIntegral}\left (\frac {c (b-d)}{d}+(b-d) x\right ) \sin \left (a-\frac {b c}{d}\right )}{2 b^2}-\frac {\operatorname {CosIntegral}\left (\frac {c (b+d)}{d}+(b+d) x\right ) \sin \left (a-\frac {b c}{d}\right )}{2 b^2}-\frac {\sin (a-c+(b-d) x)}{2 b (b-d)}+\frac {\sin (a+c+(b+d) x)}{2 b (b+d)}+\frac {\cos \left (a-\frac {b c}{d}\right ) \text {Si}\left (\frac {c (b-d)}{d}+(b-d) x\right )}{2 b^2}+\frac {\cos (a+b x) \text {Si}(c+d x)}{b^2}+\frac {x \sin (a+b x) \text {Si}(c+d x)}{b}-\frac {\cos \left (a-\frac {b c}{d}\right ) \text {Si}\left (\frac {c (b+d)}{d}+(b+d) x\right )}{2 b^2}+\frac {\left (c \cos \left (a-\frac {b c}{d}\right )\right ) \int \frac {\cos \left (\frac {c (b-d)}{d}+(b-d) x\right )}{c+d x} \, dx}{2 b}-\frac {\left (c \cos \left (a-\frac {b c}{d}\right )\right ) \int \frac {\cos \left (\frac {c (b+d)}{d}+(b+d) x\right )}{c+d x} \, dx}{2 b}-\frac {\left (c \sin \left (a-\frac {b c}{d}\right )\right ) \int \frac {\sin \left (\frac {c (b-d)}{d}+(b-d) x\right )}{c+d x} \, dx}{2 b}+\frac {\left (c \sin \left (a-\frac {b c}{d}\right )\right ) \int \frac {\sin \left (\frac {c (b+d)}{d}+(b+d) x\right )}{c+d x} \, dx}{2 b} \\ & = \frac {c \cos \left (a-\frac {b c}{d}\right ) \operatorname {CosIntegral}\left (\frac {c (b-d)}{d}+(b-d) x\right )}{2 b d}-\frac {c \cos \left (a-\frac {b c}{d}\right ) \operatorname {CosIntegral}\left (\frac {c (b+d)}{d}+(b+d) x\right )}{2 b d}+\frac {\operatorname {CosIntegral}\left (\frac {c (b-d)}{d}+(b-d) x\right ) \sin \left (a-\frac {b c}{d}\right )}{2 b^2}-\frac {\operatorname {CosIntegral}\left (\frac {c (b+d)}{d}+(b+d) x\right ) \sin \left (a-\frac {b c}{d}\right )}{2 b^2}-\frac {\sin (a-c+(b-d) x)}{2 b (b-d)}+\frac {\sin (a+c+(b+d) x)}{2 b (b+d)}+\frac {\cos \left (a-\frac {b c}{d}\right ) \text {Si}\left (\frac {c (b-d)}{d}+(b-d) x\right )}{2 b^2}-\frac {c \sin \left (a-\frac {b c}{d}\right ) \text {Si}\left (\frac {c (b-d)}{d}+(b-d) x\right )}{2 b d}+\frac {\cos (a+b x) \text {Si}(c+d x)}{b^2}+\frac {x \sin (a+b x) \text {Si}(c+d x)}{b}-\frac {\cos \left (a-\frac {b c}{d}\right ) \text {Si}\left (\frac {c (b+d)}{d}+(b+d) x\right )}{2 b^2}+\frac {c \sin \left (a-\frac {b c}{d}\right ) \text {Si}\left (\frac {c (b+d)}{d}+(b+d) x\right )}{2 b d} \\
\end{align*}
Mathematica [C] (verified)
Result contains complex when optimal does not.
Time = 3.28 (sec) , antiderivative size = 389, normalized size of antiderivative = 1.05
\[
\int x \cos (a+b x) \text {Si}(c+d x) \, dx=-\frac {e^{-i a} \left (-\left ((b c-i d) e^{2 i a-\frac {i b c}{d}} \operatorname {ExpIntegralEi}\left (\frac {i (b-d) (c+d x)}{d}\right )\right )+\frac {e^{-\frac {i (b+d) (c+d x)}{d}} \left (-i b d e^{\frac {i b c}{d}} \left (d \left (-1+e^{2 i (a+b x)}\right )+b \left (1+e^{2 i (a+b x)}\right )\right )+(b c+i d) \left (b^2-d^2\right ) e^{i \left (c+\frac {2 b c}{d}+(b+d) x\right )} \operatorname {ExpIntegralEi}\left (-\frac {i (b+d) (c+d x)}{d}\right )\right )}{(b-d) (b+d)}\right )}{4 b^2 d}+\frac {e^{-i a} \left (-\frac {i b d e^{i (c+(-b+d) x)} \left (b+d+b e^{2 i (a+b x)}-d e^{2 i (a+b x)}\right )}{(b-d) (b+d)}+(b c+i d) e^{\frac {i b c}{d}} \operatorname {ExpIntegralEi}\left (-\frac {i (b-d) (c+d x)}{d}\right )-(b c-i d) e^{2 i a-\frac {i b c}{d}} \operatorname {ExpIntegralEi}\left (\frac {i (b+d) (c+d x)}{d}\right )\right )}{4 b^2 d}+\frac {(\cos (a+b x)+b x \sin (a+b x)) \text {Si}(c+d x)}{b^2}
\]
[In]
Integrate[x*Cos[a + b*x]*SinIntegral[c + d*x],x]
[Out]
-1/4*(-((b*c - I*d)*E^((2*I)*a - (I*b*c)/d)*ExpIntegralEi[(I*(b - d)*(c + d*x))/d]) + ((-I)*b*d*E^((I*b*c)/d)*
(d*(-1 + E^((2*I)*(a + b*x))) + b*(1 + E^((2*I)*(a + b*x)))) + (b*c + I*d)*(b^2 - d^2)*E^(I*(c + (2*b*c)/d + (
b + d)*x))*ExpIntegralEi[((-I)*(b + d)*(c + d*x))/d])/((b - d)*(b + d)*E^((I*(b + d)*(c + d*x))/d)))/(b^2*d*E^
(I*a)) + (((-I)*b*d*E^(I*(c + (-b + d)*x))*(b + d + b*E^((2*I)*(a + b*x)) - d*E^((2*I)*(a + b*x))))/((b - d)*(
b + d)) + (b*c + I*d)*E^((I*b*c)/d)*ExpIntegralEi[((-I)*(b - d)*(c + d*x))/d] - (b*c - I*d)*E^((2*I)*a - (I*b*
c)/d)*ExpIntegralEi[(I*(b + d)*(c + d*x))/d])/(4*b^2*d*E^(I*a)) + ((Cos[a + b*x] + b*x*Sin[a + b*x])*SinIntegr
al[c + d*x])/b^2
Maple [B] (verified)
Leaf count of result is larger than twice the leaf count of optimal. \(1239\) vs. \(2(350)=700\).
Time = 4.06 (sec) , antiderivative size = 1240, normalized size of antiderivative =
3.35
| | |
method | result | size |
| | |
default |
\(\text {Expression too large to display}\) |
\(1240\) |
| | |
|
|
|
[In]
int(x*cos(b*x+a)*Si(d*x+c),x,method=_RETURNVERBOSE)
[Out]
(-Si(d*x+c)/b*(d/b*a*sin(1/d*b*(d*x+c)+(a*d-b*c)/d)-1/b*d*(cos(1/d*b*(d*x+c)+(a*d-b*c)/d)+(1/d*b*(d*x+c)+(a*d-
b*c)/d)*sin(1/d*b*(d*x+c)+(a*d-b*c)/d)))+1/b*(1/2*a*d^2/(b-d)*(-Si(-(b-d)/d*(d*x+c)-(a*d-b*c)/d-(-a*d+b*c)/d)*
sin((-a*d+b*c)/d)/d+Ci((b-d)/d*(d*x+c)+(a*d-b*c)/d+(-a*d+b*c)/d)*cos((-a*d+b*c)/d)/d)-1/2*d^2*c/(b-d)*(-Si(-(b
-d)/d*(d*x+c)-(a*d-b*c)/d-(-a*d+b*c)/d)*sin((-a*d+b*c)/d)/d+Ci((b-d)/d*(d*x+c)+(a*d-b*c)/d+(-a*d+b*c)/d)*cos((
-a*d+b*c)/d)/d)-1/2*(a*d-b*c)*d/(b-d)*(-Si(-(b-d)/d*(d*x+c)-(a*d-b*c)/d-(-a*d+b*c)/d)*sin((-a*d+b*c)/d)/d+Ci((
b-d)/d*(d*x+c)+(a*d-b*c)/d+(-a*d+b*c)/d)*cos((-a*d+b*c)/d)/d)-1/2/(b-d)*d*sin((b-d)/d*(d*x+c)+(a*d-b*c)/d)-1/2
*a*d^2/(b+d)*(-Si(-(b+d)/d*(d*x+c)-(a*d-b*c)/d-(-a*d+b*c)/d)*sin((-a*d+b*c)/d)/d+Ci((b+d)/d*(d*x+c)+(a*d-b*c)/
d+(-a*d+b*c)/d)*cos((-a*d+b*c)/d)/d)-1/2*d^2*c/(b+d)*(-Si(-(b+d)/d*(d*x+c)-(a*d-b*c)/d-(-a*d+b*c)/d)*sin((-a*d
+b*c)/d)/d+Ci((b+d)/d*(d*x+c)+(a*d-b*c)/d+(-a*d+b*c)/d)*cos((-a*d+b*c)/d)/d)+1/2*(a*d-b*c)*d/(b+d)*(-Si(-(b+d)
/d*(d*x+c)-(a*d-b*c)/d-(-a*d+b*c)/d)*sin((-a*d+b*c)/d)/d+Ci((b+d)/d*(d*x+c)+(a*d-b*c)/d+(-a*d+b*c)/d)*cos((-a*
d+b*c)/d)/d)+1/2/(b+d)*d*sin((b+d)/d*(d*x+c)+(a*d-b*c)/d)-1/2/b*d^2*(-Si(-(b+d)/d*(d*x+c)-(a*d-b*c)/d-(-a*d+b*
c)/d)*cos((-a*d+b*c)/d)/d-Ci((b+d)/d*(d*x+c)+(a*d-b*c)/d+(-a*d+b*c)/d)*sin((-a*d+b*c)/d)/d)+1/2/b*d^2*(-Si(-(b
-d)/d*(d*x+c)-(a*d-b*c)/d-(-a*d+b*c)/d)*cos((-a*d+b*c)/d)/d-Ci((b-d)/d*(d*x+c)+(a*d-b*c)/d+(-a*d+b*c)/d)*sin((
-a*d+b*c)/d)/d)))/d
Fricas [A] (verification not implemented)
none
Time = 0.28 (sec) , antiderivative size = 429, normalized size of antiderivative = 1.16
\[
\int x \cos (a+b x) \text {Si}(c+d x) \, dx=\frac {2 \, b^{2} d \cos \left (b x + a\right ) \sin \left (d x + c\right ) + 2 \, {\left (b^{2} d - d^{3}\right )} \cos \left (b x + a\right ) \operatorname {Si}\left (d x + c\right ) - {\left ({\left (b^{3} c - b c d^{2}\right )} \operatorname {Ci}\left (\frac {b c + c d + {\left (b d + d^{2}\right )} x}{d}\right ) - {\left (b^{3} c - b c d^{2}\right )} \operatorname {Ci}\left (-\frac {b c - c d + {\left (b d - d^{2}\right )} x}{d}\right ) + {\left (b^{2} d - d^{3}\right )} \operatorname {Si}\left (\frac {b c + c d + {\left (b d + d^{2}\right )} x}{d}\right ) + {\left (b^{2} d - d^{3}\right )} \operatorname {Si}\left (-\frac {b c - c d + {\left (b d - d^{2}\right )} x}{d}\right )\right )} \cos \left (-\frac {b c - a d}{d}\right ) - 2 \, {\left (b d^{2} \cos \left (d x + c\right ) - {\left (b^{3} d - b d^{3}\right )} x \operatorname {Si}\left (d x + c\right )\right )} \sin \left (b x + a\right ) - {\left ({\left (b^{2} d - d^{3}\right )} \operatorname {Ci}\left (\frac {b c + c d + {\left (b d + d^{2}\right )} x}{d}\right ) - {\left (b^{2} d - d^{3}\right )} \operatorname {Ci}\left (-\frac {b c - c d + {\left (b d - d^{2}\right )} x}{d}\right ) - {\left (b^{3} c - b c d^{2}\right )} \operatorname {Si}\left (\frac {b c + c d + {\left (b d + d^{2}\right )} x}{d}\right ) - {\left (b^{3} c - b c d^{2}\right )} \operatorname {Si}\left (-\frac {b c - c d + {\left (b d - d^{2}\right )} x}{d}\right )\right )} \sin \left (-\frac {b c - a d}{d}\right )}{2 \, {\left (b^{4} d - b^{2} d^{3}\right )}}
\]
[In]
integrate(x*cos(b*x+a)*sin_integral(d*x+c),x, algorithm="fricas")
[Out]
1/2*(2*b^2*d*cos(b*x + a)*sin(d*x + c) + 2*(b^2*d - d^3)*cos(b*x + a)*sin_integral(d*x + c) - ((b^3*c - b*c*d^
2)*cos_integral((b*c + c*d + (b*d + d^2)*x)/d) - (b^3*c - b*c*d^2)*cos_integral(-(b*c - c*d + (b*d - d^2)*x)/d
) + (b^2*d - d^3)*sin_integral((b*c + c*d + (b*d + d^2)*x)/d) + (b^2*d - d^3)*sin_integral(-(b*c - c*d + (b*d
- d^2)*x)/d))*cos(-(b*c - a*d)/d) - 2*(b*d^2*cos(d*x + c) - (b^3*d - b*d^3)*x*sin_integral(d*x + c))*sin(b*x +
a) - ((b^2*d - d^3)*cos_integral((b*c + c*d + (b*d + d^2)*x)/d) - (b^2*d - d^3)*cos_integral(-(b*c - c*d + (b
*d - d^2)*x)/d) - (b^3*c - b*c*d^2)*sin_integral((b*c + c*d + (b*d + d^2)*x)/d) - (b^3*c - b*c*d^2)*sin_integr
al(-(b*c - c*d + (b*d - d^2)*x)/d))*sin(-(b*c - a*d)/d))/(b^4*d - b^2*d^3)
Sympy [F]
\[
\int x \cos (a+b x) \text {Si}(c+d x) \, dx=\int x \cos {\left (a + b x \right )} \operatorname {Si}{\left (c + d x \right )}\, dx
\]
[In]
integrate(x*cos(b*x+a)*Si(d*x+c),x)
[Out]
Integral(x*cos(a + b*x)*Si(c + d*x), x)
Maxima [F]
\[
\int x \cos (a+b x) \text {Si}(c+d x) \, dx=\int { x \cos \left (b x + a\right ) \operatorname {Si}\left (d x + c\right ) \,d x }
\]
[In]
integrate(x*cos(b*x+a)*sin_integral(d*x+c),x, algorithm="maxima")
[Out]
integrate(x*cos(b*x + a)*sin_integral(d*x + c), x)
Giac [C] (verification not implemented)
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 5.04 (sec) , antiderivative size = 206132, normalized size of antiderivative = 557.11
\[
\int x \cos (a+b x) \text {Si}(c+d x) \, dx=\text {Too large to display}
\]
[In]
integrate(x*cos(b*x+a)*sin_integral(d*x+c),x, algorithm="giac")
[Out]
(x*sin(b*x + a)/b + cos(b*x + a)/b^2)*sin_integral(d*x + c) - 1/4*(b^3*c*real_part(cos_integral(b*x + d*x + c
+ b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*
(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(
1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b
*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 +
b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1
/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_i
ntegral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/
2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x + d*x +
c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1
/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b
*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*ta
n(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(
1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)
^2 + 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*
tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b*c*d^2*imag_par
t(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*
tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b^3*c*imag_part(cos_integral(-b*x + d
*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*t
an(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan
(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d
)^2*tan(1/2*(b*c - c*d)/d) + 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(
1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)
- 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan
(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b^3*c*imag_part(cos
_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1
/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(b*x + d*x +
c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1
/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b
*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(
1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(
1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2
- 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1
/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b*c*d^2*sin_integral(
(b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*
a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*x - d*x - c +
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c
+ c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*
(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*
x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b
*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1
/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^3*c*sin_integral((b
*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a
- 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d
)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c +
c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*
d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c
- c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c
*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a +
1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integ
ral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/
d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*
d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x
)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c
*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x
)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_par
t(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*
tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x - d*
x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*ta
n(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b
*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*ta
n(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/
2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2
- d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1
/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_i
ntegral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/
2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x - d*x - c -
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(
b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1
/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*
(b*c - c*d)/d)^2 - 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/
2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d
*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2
*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_integral((b*d*x - d^2
*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2
*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(
1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)
^2 - b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*
tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x - d*x -
c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/
2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b
*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^3*c*real_part(cos_integ
ral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a
- 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/
2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^3*c*r
eal_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1
/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d)
)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c
*d)/d)^2 - 4*b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d
*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*real
_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c
)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*real_part(cos_integral(-b*x +
d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*t
an(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan
(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^
2*tan(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan
(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d
) + 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan
(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos
_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(
1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*d^3*real_part(cos_integral(-b*x + d*x + c
- b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2
*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d
^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d)
)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c
*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d
*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x +
d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2
*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*t
an(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(c
os_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*ta
n(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*
b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 +
4*b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(
1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b*c*d^2*real_part(cos_
integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*
a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b^3*c*real_part(cos_integral(-b*x - d*x - c -
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*
c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b
*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*
real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1
/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(
-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/
2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))
*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*
d)/d)*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2
*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*rea
l_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*
c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*
tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c -
c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2
*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(
-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c +
c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/
2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3
*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x - d*x - c
- b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(
1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2
*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 -
2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2
*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_int
egral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*
a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(-b*x + d*x + c - b
*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c
+ c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*
d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d
^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a
- 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x - d*x - c + b*
c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*
(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_int
egral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*
(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*
x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2
- b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan
(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x - d*
x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^
2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*t
an(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d
)^2 + 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*t
an(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*real_part(c
os_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(
1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*real_part(cos_integral(-b*x - d*x -
c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2
*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c
*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/
d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c -
c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c
)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x
+ d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)
^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2
*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part
(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(
1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/
2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2
+ b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*
a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x + d*x + c
+ b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*
(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1
/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integra
l(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*
d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x
)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real
_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2
*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan
(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d
)^2 - b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*ta
n(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*x + d*
x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*ta
n(1/2*(b*c + c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1
/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b^3*c*imag_part(cos_i
ntegral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/
2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 4*b^3
*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1
/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*ta
n(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/
d) + 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*
tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x - d*x
- c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/
2*(b*c + c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*
b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_in
tegral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2
*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d
*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 4*b*c*d^2*si
n_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)
^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/
2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 -
2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*ta
n(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c
- b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(
b*c + c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b
*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 4*b^3*c*sin_integral((b*d*x
+ d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*
c)^2*tan(1/2*(b*c + c*d)/d)^2 - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2
*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^2*d*imag_part(c
os_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan
(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^2*d
*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a +
1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*ta
n(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/
d)^2 - b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2
*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x + d*x +
c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/
2*(b*c + c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*
x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + d^3*imag_part(cos_integral
(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1
/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^
2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*d^3*sin_inte
gral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan
(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*d^
3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/
2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*
tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d
)/d) - 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x
)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b^3*c*imag_part(cos_integral(-b*x + d
*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*t
an(1/2*(b*c - c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan
(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 4*b^3*c*sin_integral(
(b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*
a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*
d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b^3*c*ima
g_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*
c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d)
)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c
- c*d)/d) + 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/
2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b*c*d^2*imag_part(cos_integr
al(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*
c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d
*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^
2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/
2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d)
)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d
)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*
tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/
d) + 4*b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2
*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*d^3*imag_part(cos
_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(
1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 8*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c
*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c
+ c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 8*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^
2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d
)/d) + 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^
2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(b*x
- d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)
/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^
2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^2*im
ag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/
2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*t
an(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c -
c*d)/d) - 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x
)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b^3*c*imag_part(cos_integral(b*x
- d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^
2*tan(1/2*(b*c - c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*t
an(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b^3*c*imag_part(c
os_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/
2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*
b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4
*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1
/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d
)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c
*d)/d) + 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*
tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(b*x -
d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*
tan(1/2*(b*c - c*d)/d) - 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(
1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^2*imag_part(co
s_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2
*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1
/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b*c*d^
2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)
^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*ta
n(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)
^2 + 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^
2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(-b*x + d*x
+ c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1
/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1
/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^3*c*sin_integral((b
*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a
- 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*
x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_
part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)
*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(
1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2
+ 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*t
an(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x
- c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/
2*(b*c - c*d)/d)^2 - 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*c*d^2*sin_integral((b*d*x
+ d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c
)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*t
an(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos
_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1
/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*i
mag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/
2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*t
an(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)
/d)^2 - d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*
tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x - d*x -
c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1
/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x
+ d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/
2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*t
an(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*sin_integ
ral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(
1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/
2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c
*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a +
1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*
c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b
*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_in
tegral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2
*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1
/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b*
c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*
c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b
*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_int
egral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*
(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*
x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 +
4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2
*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c +
c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*
(b*c - c*d)/d)^2 + 4*b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*d^3*
imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1
/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*imag_part(cos_integral(-b
*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)
^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan
(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*
tan(1/2*(b*c - c*d)/d)^2 + 8*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/
2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 8
*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a +
1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(
b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)
/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)
^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_pa
rt(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*ta
n(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(
1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2
- 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a
- 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*
d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c -
c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c
)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(b*
x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d
)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*
tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_par
t(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan
(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b*
c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/
2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d)
)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c -
c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1
/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integra
l(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c +
c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b
^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a +
1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)
/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c
- c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2
*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(b*
x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*
d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)
^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_
part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)
^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*t
an(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c -
c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x
)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x
- d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d
)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2
*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*sin
_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^
2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/
2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/
d)^2 + 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*t
an(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*sin_integral((b*d*x - d^2*x + b*
c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*ta
n(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1
/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part
(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan
(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1
/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d
)^2 - 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x
)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^3*c*sin_integral((b*d*x - d^2*x
+ b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2
*tan(1/2*(b*c - c*d)/d)^2 + 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan
(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part
(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2
*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*
b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2
*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a
- 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c
- b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b
*c - c*d)/d)^2 - 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*
c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*c*d^2*sin_integral((b*d*x - d^
2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*
tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan
(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(c
os_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(
b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b*
c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a
- 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/
d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*
d)/d)^2 + 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*
tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/
2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 -
4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*
c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/
2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3
*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/
d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b
*c - c*d)/d)^2 + d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2
*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(
-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c +
c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*
x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*i
mag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1
/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d)
)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c
- c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*
d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_integral((b*d*x + d^
2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)
/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*
tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_in
tegral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*t
an(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(
1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2
- 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/
2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(-b*x - d*x -
c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2
*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2
*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b^3*c*sin_integral((b*d
*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d
)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)
^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_pa
rt(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1
/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/
2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 -
2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a
- 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x -
c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*
(b*c - c*d)/d)^2 + 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/
2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b*c*d^2*sin_integral((b*d*x +
d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^
2*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(
1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*
b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b
^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d)
)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c
*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*
tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(b*x - d*x
- c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(
1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*
a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integr
al(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c +
c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d
*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_p
art(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*t
an(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2
*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2
- 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/
d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c -
c*d)/d)^2 + 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*ta
n(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/
2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 -
4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*
c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/
2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*ima
g_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2
*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(
1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)
^2 + d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*
a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x + d*x + c -
b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(
b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2
*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b
*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/
d)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*t
an(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*sin_integ
ral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*
(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/
2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d
*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^
2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/
2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2
+ 4*b^2*d*tan(1/2*b*x + 1/2*d*x)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(
b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a +
1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integra
l(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1
/2*c)^2 + b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*
x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*
b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - b*c*d^2*real_part(cos_in
tegral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*
a - 1/2*c)^2 + b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/
2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*t
an(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - b^3*c*real_part(c
os_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*ta
n(1/2*a - 1/2*c)^2 + b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*
b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + 4*b^3*c*real_part(cos_integral(b*x + d*x + c + b*
c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c +
c*d)/d) - 4*b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2
*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 4*b^3*c*real_part(cos_integral(-b*x -
d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*t
an(1/2*(b*c + c*d)/d) - 4*b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan
(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b^2*d*real_part(cos_i
ntegral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2
*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*
d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b^2*d*rea
l_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2
*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(
1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)
+ b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(
1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^3*c*real_part(cos_int
egral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(
b*c + c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c
/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b*c*d^2
*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a +
1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d
*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(cos_integral(
-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c +
c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2
*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*real_part(cos_integral(b*x -
d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*ta
n(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(
1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*real_part(cos_in
tegral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2
*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*
d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b*c*d^2*real_part(cos_integral
(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c +
c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d
*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*t
an(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^3*c*real_pa
rt(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^
2*tan(1/2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*
tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x - d
*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)
^2 + b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2
*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/
2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 +
2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/
2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b
*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c
+ c*d)/d)^2 + 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2
*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x +
d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2
- b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2
*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/
2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b
*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/
d)^2 + b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan
(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b
*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^3*c*real_part(cos_integ
ral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c +
c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*
c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(
1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(co
s_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*
(b*c + c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1
/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))
*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^3*c*real_part
(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(
1/2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/
2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x - d*x - c - b
*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b*c*d^2*r
eal_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c
)^2*tan(1/2*(b*c + c*d)/d)^2 - 4*b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2
*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*real_part
(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*t
an(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*b*c*
d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*
a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d)
)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c
*d)/d) + 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^
2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos_integral(-b*x + d*x
+ c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan
(1/2*(b*c - c*d)/d) + 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b
*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*b^2*d*real_part(cos_integ
ral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*
c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*
d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b^2*d
*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a +
1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/
d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b
*c - c*d)/d) - 4*b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1
/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*real_part(cos_integra
l(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c +
c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d
*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*
real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a -
1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d)
)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d
)/d) + 4*b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*
tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*real_part(cos_integral(-b*x + d*x
+ c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1
/2*(b*c - c*d)/d) + 4*b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2
*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*real_part(cos_integ
ral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*
d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*
x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*real_pa
rt(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(
1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/
2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2
*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/
2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*d^3*real_part(cos_integral(b*x - d*x - c +
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/
2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*
x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*d^3*real_part(cos_inte
gral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(
b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*d^3*r
eal_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)
^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*t
an(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)
/d) + 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(
1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos_integral(b*x - d*x -
c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/
2*(b*c - c*d)/d) + 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1
/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos_integral(
-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d
)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2
*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - b^3*c*real_part(c
os_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan
(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/
2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x - d*x - c
+ b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b*
c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2
*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1
/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integ
ral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b
*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c
/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d
*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a +
1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*ta
n(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)
^2 + 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2
*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(-b*x + d*x +
c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*
(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c
/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*r
eal_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/
2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x
)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x
+ d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d
)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*
x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan
(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_pa
rt(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^
2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*t
an(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos
_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2
*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*
real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a +
1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*ta
n(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(
cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/
2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a +
1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d
))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_pa
rt(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*ta
n(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(
1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x - d*x - c -
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2
*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2
*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2
*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x + d*x
+ c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b
^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d
*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x +
d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2
+ b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1
/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integra
l(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c
*d)/d)^2 + 4*b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d
*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b*c*d^2*real_part(cos_integral(b*
x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)
/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^
2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b*c*d^2*real
_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*
c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*ta
n(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d
)/d)^2 - 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^
2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(-b*x -
d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/
d)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*t
an(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*real_pa
rt(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2
*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/
2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)
^2 - 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2
*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*real_part(cos_integral(-b*x - d*
x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*
tan(1/2*(b*c - c*d)/d)^2 + 4*b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan
(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b*c*d^2*real_part(cos
_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*
c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1
/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b*c*d^2*
real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)
^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*ta
n(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2
- 4*b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/
2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b^3*c*real_part(cos_integral(-b*x - d*x - c
- b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*
c - c*d)/d)^2 - 4*b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a +
1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(
b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)
/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*t
an(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(c
os_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/
2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2
*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/
2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*
tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/
d)^2 + 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*t
an(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(-b*x - d*x
- c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/
2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x + d*x + c
+ b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2
+ b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(
1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2
*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part
(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d
)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^
2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(-b
*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c
- c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x + d*x + c +
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*
(b*c - c*d)/d)^2 + 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*real_part(cos_integ
ral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c
+ c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/
2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c
*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c
*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d
*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(b*
x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*
d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2
*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan
(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_pa
rt(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^
2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*ta
n(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x - d
*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)
^2 + b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/
2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b
*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_i
ntegral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2
*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x + d*x + c - b
*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d
^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c
+ c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2
*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integra
l(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c
- c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1
/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(
b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*
d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d
*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*re
al_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/
2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d)
)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d
)/d)^2 - 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*ta
n(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(-b*x + d*x
+ c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1
/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integ
ral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*
d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)
^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_pa
rt(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(
1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*
b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b
^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c
+ c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1
/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integra
l(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c
- c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*
c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))
*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*rea
l_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)
/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^
2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x
- d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d
)/d)^2 - b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*ta
n(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1
/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(c
os_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan
(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/
2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x + d*x + c
- b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b
*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(
b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_int
egral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*
(b*c - c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a +
1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*real_part(cos_integral(
b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d
)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^
2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*real_part(
cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2
*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*
x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d
^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*
c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d
))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*
d)/d)^2 + 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*ta
n(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x + d*x
+ c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b*
c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c +
c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2
*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x -
d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2
- b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*
c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1
/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(
-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d
)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan
(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/
2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) - 2*b*c*d^2*imag_part(cos_
integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/
2*a - 1/2*c) - 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) + 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))
*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) + 4*b^3*c*sin_integ
ral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(
1/2*a - 1/2*c) - 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) - 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*ta
n(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 + 2*b*c*d^2*imag_part(
cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(
1/2*a - 1/2*c)^2 + 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*
x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 - 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c
/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 - 4*b^3*c*sin_i
ntegral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*ta
n(1/2*a - 1/2*c)^2 + 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*
x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 - b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*
tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + d^3*imag_part(co
s_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(
1/2*a - 1/2*c)^2 + b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan
(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - b^2*d*imag_part(cos
_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(
1/2*a - 1/2*c)^2 + d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*t
an(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - d^3*imag_part(cos
_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(
1/2*a - 1/2*c)^2 - 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1
/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + 2*b^2*d*sin_integral(
(b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*
a - 1/2*c)^2 - 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*
x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/
2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b*c*d^2*imag_part(
cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*ta
n(1/2*(b*c + c*d)/d) + 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/
2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x -
c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 4
*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d
*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b^3*c*imag_part(cos_integral(b*
x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*
d)/d) - 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*
x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan
(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b*c*d^2*imag_pa
rt(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^
2*tan(1/2*(b*c + c*d)/d) + 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/
2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c +
c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 4*b^2
*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 4*d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*ta
n(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)
- 4*b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*t
an(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 4*d^3*imag_part(cos_integral(-b*x - d*x - c -
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c
+ c*d)/d) + 8*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*
x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 8*d^3*sin_integral((b*d*x + d^2*x + b*c
+ c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b
*c + c*d)/d) - 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2
*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*t
an(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b^3*c*imag_part(c
os_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/
2*(b*c + c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*
a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)
*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 4*b*c*d^2*sin_int
egral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/
2*(b*c + c*d)/d) - 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a +
1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d
))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b^3*c*imag_pa
rt(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*ta
n(1/2*(b*c + c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(
1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d
)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 4*b*c*d^2*sin
_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*ta
n(1/2*(b*c + c*d)/d) + 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2
*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c
+ b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b
^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2
*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 4*b^3*c*sin_integral((b*d*x
+ d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c
*d)/d)^2 - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*
x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/
2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_part(cos_
integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/
2*(b*c + c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d
))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^2*d*ima
g_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2
*c)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*
tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x - d
*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)
^2 + d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan
(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*d^3*sin_integral((b*d*x
+ d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c +
c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*
x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2
*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b^3*c*imag_part(c
os_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1
/2*(b*c + c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/
2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c
- b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*b
*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1
/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2
*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 4*b*c*d^2*sin_integral((b*d*x -
d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d
)/d)^2 + 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*
tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2
*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b^3*c*imag_part(cos_int
egral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c +
c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/
2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1
/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 4*b*c*d^2*sin_integral(
(b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c +
c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c
)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan
(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b^3*c*imag_part(cos
_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b
*c + c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*t
an(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 4*b*c*d^2*sin_integ
ral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b
*c + c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/
2*c)*tan(1/2*(b*c + c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2
*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*
x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + d^3*imag_part(cos_inte
gral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b
*c + c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1
/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*t
an(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d*imag_pa
rt(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^
2*tan(1/2*(b*c + c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(
1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x - d*x -
c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 -
d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2
*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2
*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*sin_integral((b*d*x + d
^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d
)/d)^2 + 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2
*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b^3*c*imag_part(cos_i
ntegral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c
+ c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/
2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*t
an(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b*c*d^2*imag_part
(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/
2*(b*c + c*d)/d)^2 + 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a +
1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*t
an(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b^3*c*imag_part(c
os_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(
b*c + c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d
))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b*c*d^2*imag_
part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*ta
n(1/2*(b*c + c*d)/d)^2 + 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*
a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/
d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 4*b^2*d*tan(1/2
*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 -
4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c
+ c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c
)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2
*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^2*d*imag_part(cos_int
egral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c
+ c*d)/d)^2 - d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2
*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2
*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + d^3*imag_part(cos_integ
ral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c +
c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)
^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2
*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b^2*d*sin_integral((b
*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c +
c*d)/d)^2 - 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*t
an(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*d^3*sin_integral((b*d*x -
d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/
d)^2 - 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1
/2*(b*c + c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*
x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_part(cos_integral(b*x + d*x
+ c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b
^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^
2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x + d*x
+ c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + d
^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1
/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x
)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x - d*x
- c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2
*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1
/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*
tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c
- c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*d^3
*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^
2*tan(1/2*(b*c + c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(
1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/
d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^2*
imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1
/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x
)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(-b
*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c
*d)/d) - 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2
*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b
*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 4*b^2*d*imag_part(cos_i
ntegral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2
*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*
x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*b^2*d*imag_pa
rt(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^
2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) - 4*d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*
x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) - 8*b^2
*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1
/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 8*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*
b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 2*b
^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*
a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1
/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b^3*c*imag_part(cos_integra
l(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c
- c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*t
an(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 4*b*c*d^2*sin_i
ntegral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*
tan(1/2*(b*c - c*d)/d) + 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1
/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c +
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b^3*c*i
mag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c
)^2*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^
2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c
- c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 4*b*c*d
^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c
)^2*tan(1/2*(b*c - c*d)/d) + 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*t
an(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(b*x - d*x -
c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b^3
*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1
/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d
*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 4*b^3*c*sin_integral((b*d*x - d^2*x +
b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 4*b
*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1
/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)
^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^2*imag_part(cos_integral
(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b
*c - c*d)/d) + 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c -
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4
*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(
b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1
/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b^3*c*imag_part(cos_int
egral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(
b*c - c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a +
1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c
/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b*c*d^2
*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c +
c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^
2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*sin_integral((b*d*x - d^2*x
+ b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)
- 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/
2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b
*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b^3*c*imag_part(cos_i
ntegral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/
2*(b*c - c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*
a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d
)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2
*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)
/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2
*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*d^3*imag_part
(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan
(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2
*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)
- 4*d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(
1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 8*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c
*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(
b*c - c*d)/d) + 8*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d
*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b^2*d*imag_part(cos_integral(b*x
- d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*
tan(1/2*(b*c - c*d)/d) + 4*d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2
*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b^2*d*imag_part(cos_integ
ral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c
*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)
^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 8*b^2*d*sin_integ
ral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b
*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 8*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*
x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b^2*d*imag_pa
rt(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1
/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b^2*d
*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2
*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*ta
n(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)
- 8*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a
- 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 8*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*
tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/
d) + 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(
1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2
*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b^3*c*imag_part(cos
_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(
1/2*(b*c - c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/
2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c
*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b*c*d
^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*
d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)
^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(b*x
- d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d
)/d) - 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*t
an(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan
(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b^3*c*sin_integ
ral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(
1/2*(b*c - c*d)/d) - 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a
- 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*
c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b*c*d^2*im
ag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^
2*tan(1/2*(b*c - c*d)/d) - 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/
2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x +
c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b^3
*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d
)^2*tan(1/2*(b*c - c*d)/d) - 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/
2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b^3*c*imag_part(cos_integral(b*x + d*x + c
+ b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b*
c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2
*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1
/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integ
ral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c
- c*d)/d)^2 - 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*
d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan
(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(c
os_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan
(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*
x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x - d*x - c + b*
c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*im
ag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2
*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^
2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x + d
*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)
^2 + b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*t
an(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*sin_integral((b
*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b
*c - c*d)/d)^2 + 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*
d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan
(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*sin_integ
ral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(
1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2
*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c
+ b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b
^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2
*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^3*c*sin_integral((b*d*x
- d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c
*d)/d)^2 + 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*
x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(
1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(co
s_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b
*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a +
1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d
))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^3*c*sin_int
egral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*
(b*c - c*d)/d)^2 + 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a +
1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*
tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_par
t(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/
2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*
a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b
*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^3*c*sin
_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(
1/2*(b*c - c*d)/d)^2 + 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*
a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*
d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan
(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_i
ntegral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2
*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d)
)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_p
art(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^
2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*ta
n(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x + d*x +
c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 -
b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1
/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1
/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x
+ d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c -
c*d)/d)^2 - 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)
^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2
*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_integral(
(b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*
(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a +
1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d
))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_pa
rt(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(
1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(
1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d
)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*c*d^2*sin
_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(
1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2
*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b
*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*ima
g_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*
tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*
tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c +
c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*c*d^2
*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*
tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/
2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*
tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(co
s_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*
(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1
/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan
(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos
_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*
(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/
2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*t
an(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos
_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*
(b*c - c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/
2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1
/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*sin_integral(
(b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c
- c*d)/d)^2 + 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2
*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)*tan(1
/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x -
1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*
x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d
)^2 + d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2
*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/
2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(b*x -
d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2
+ b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2
*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2
*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x
- d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)
^2 - d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2
*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2
*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_integral((b*d*x + d^2*x
+ b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 -
2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^
2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)*tan(1/2*
b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/
2*d*x)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*i
mag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c +
c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2
*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integ
ral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*
(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*
b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c +
c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4
*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2
*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*d
^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c
/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c
- c*d)/d)^2 + 4*d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2
*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 8*b^2*d*sin_integral((b*d*x + d^2
*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)
*tan(1/2*(b*c - c*d)/d)^2 - 8*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2
*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_i
ntegral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(
b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b
*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d
^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c
+ c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x
)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b*c*d^2*sin_integral((b*d*x + d^2
*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)
^2 - 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(
1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2
*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos
_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/
2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/
2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c
*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b*c*d
^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*
d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)
^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x
+ d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/
d)^2 - 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*t
an(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan
(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b^3*c*sin_integ
ral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/
2*(b*c - c*d)/d)^2 - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a
- 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*
c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^
2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c +
c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d
*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(
-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c
*d)/d)^2 + 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*t
an(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2
*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*imag_part(cos
_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*
c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*
d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*imag_
part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*ta
n(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*
b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 8*b
^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c
)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 8*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/
2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4
*b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d)
)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/
d)^2 - 4*b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan
(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*d^3*imag_part(cos_integral(-b*x - d*x -
c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b
*c - c*d)/d)^2 + 8*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*
c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 8*d^3*sin_integral((b*d*x + d^2*x +
b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*
(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2
*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d
))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_pa
rt(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(
1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*
a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d
)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b*c*d^2*sin
_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(
1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b
*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(b*x + d*x + c +
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 +
b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/
2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_i
ntegral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*ta
n(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*
b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x - d*x -
c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)
^2 - d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan
(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b
*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_integra
l((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*ta
n(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*
b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*sin_integral((b*d*x - d^2*x + b*c -
c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 +
2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b
*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_int
egral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b
*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/
d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b*c*d^2*s
in_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^
2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*t
an(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x + d
*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2
- 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2
*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2
*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b^3*c*sin_integral(
(b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b
*c - c*d)/d)^2 - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/
2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*
x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*t
an(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part
(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*t
an(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*
a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x - d*x - c +
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*
imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*
d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x
)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x +
d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/
d)^2 - b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan
(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b
*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*sin_integral(
(b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*
(b*c - c*d)/d)^2 - 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*
c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*t
an(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*sin_int
egral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*ta
n(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*
(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a
+ 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x + d*x + c + b*
c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*im
ag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)
/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2
*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(b*x - d*x
- c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2
- b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2
*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integ
ral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b
*c - c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*
c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*t
an(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*sin_int
egral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*ta
n(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*
a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d
)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d
*tan(1/2*b*x + 1/2*d*x)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c -
c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d
)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2
*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(b*x -
d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)
^2 + 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1
/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1
/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^3*c*sin_integra
l((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*
(b*c - c*d)/d)^2 + 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a -
1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/
d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*
imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)
/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x
)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(-b
*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d
)/d)^2 - 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1
/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b
*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x + 1
/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b*
d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c
- c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*
tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*t
an(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(c
os_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*
(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a -
1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)
*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*c*d^2*sin_int
egral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*
(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d
)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan
(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2
*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1
/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*
x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*
d)/d)^2 + d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan
(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*
b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_in
tegral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*
(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d
))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*ima
g_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)
/d)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*
tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x + d^2*x +
b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2
+ 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*
c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2
*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_integral((b*d*x - d
^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d
)/d)^2 - 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2
*tan(1/2*(b*c - c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a - 1/2*c)^2*tan(1
/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*
x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_inte
gral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b
*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2
*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*t
an(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_pa
rt(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^
2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(
1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x - d*x -
c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 -
d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*
c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2
*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_integral((b*d*x + d
^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d
)/d)^2 - 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan
(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x + 1
/2*d*x)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*
d^2*tan(1/2*b*x + 1/2*d*x)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c
- c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*
tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*t
an(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(c
os_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*
(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/
2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)
*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b*c*d^2*sin_int
egral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*
(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d
)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan
(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a
- 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1
/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*
x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d
)^2 - d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*
c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*
c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(b*x -
d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2
+ b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*
c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c
)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x
- d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)
^2 + d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*
c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c
)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*sin_integral((b*d*x + d^2*x
+ b*c + c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 -
2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c +
c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*ta
n(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)*tan(1/2*
a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/
2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*t
an(1/2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d
)^2 - 4*b*d^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/
2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*
d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 - b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*ta
n(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + b*c*d^2*real_part(cos_integral(b*x - d*
x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 - b^3*c*real_part(cos_i
ntegral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + b*c*
d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*
a + 1/2*c)^2 - b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/
2*d*x)^2*tan(1/2*a + 1/2*c)^2 + b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)
^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 - 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(
1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) + 2*d^3*real_part(cos_in
tegral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*
a - 1/2*c) - 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/
2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) + 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1
/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) + b^3*c*real_part(cos_int
egral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - b*c*d^2
*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a -
1/2*c)^2 + b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x
)^2*tan(1/2*a - 1/2*c)^2 - b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan
(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 + b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - b*c*d^2*real_part(cos_integral(-b*x + d*x + c -
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 + b^3*c*real_part(cos_integral(
-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - b*c*d^2*real
_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*
c)^2 + 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^
2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 - 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 + 2*b^2*d*real_part(cos_integral(
-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*
c)^2 - 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2
*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 - b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*
tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + b^3*c*real_part(cos_integral(b*x - d*x -
c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - b*c*d^2*real_part(cos_integra
l(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + b^3*c*real_part
(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - b*
c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a
- 1/2*c)^2 - b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)
^2*tan(1/2*a - 1/2*c)^2 + b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan
(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/
2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*ta
n(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + b^3*c*real_part(cos_integral(b*x - d*x - c
+ b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - b*c*d^2*real_part(cos_integral(
b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + b^3*c*real_part(c
os_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - b*c*
d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a -
1/2*c)^2 - b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2
*tan(1/2*a - 1/2*c)^2 + b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1
/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + 4*b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/
2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) - 4*b*c*d^2*real_part(cos_integral
(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c
*d)/d) + 4*b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*
x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) - 4*b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan
(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) + 2*b^2*d*real_part(c
os_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan
(1/2*(b*c + c*d)/d) - 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*
x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b
*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*d^3*r
eal_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1
/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)
^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*d^3*real_part(cos_integral(b*x + d
*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)
- 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*t
an(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 4*b^3*c*real_part(cos_int
egral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c +
c*d)/d) - 4*b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)
*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 4*b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2
*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 4*b*c*d^2*real_part(cos_int
egral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c +
c*d)/d) + 4*b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*
tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 4*b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2
*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 4*b^3*c*real_part(cos_integ
ral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c
*d)/d) - 4*b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)
*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*
b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*d^3*real_part(cos_integr
al(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c
*d)/d) + 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2
*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b
*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b^2*d*real_part(cos_integ
ral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c +
c*d)/d) - 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*t
an(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b
*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*d^3*real_part(cos_integra
l(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c
*d)/d) - b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^
2*tan(1/2*(b*c + c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*t
an(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/
2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x - d*
x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 - b^3*c*real_part(c
os_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^
2 + b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*
tan(1/2*(b*c + c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(
1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/
2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x + d*
x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2
+ 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1
/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*real_part(cos_integra
l(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c +
c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^
2*tan(1/2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*t
an(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*
x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x - d*x - c +
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^3*c*real_part(cos_integral(
-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b*c*d^2*real
_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/
d)^2 + b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan
(1/2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1
/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/
d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x
- d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b*c*d^2*real_part
(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 -
b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(
b*c + c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a +
1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d
*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*
tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x -
d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^
2 + 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan
(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*real_part(cos_integ
ral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c
+ c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2
*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1
/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*real_part(cos_i
ntegral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c
+ c*d)/d)^2 + 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*
c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(
1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*real_part(cos_in
tegral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c +
c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*
c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1
/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - b^3*c*real_part(cos_int
egral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b*c*d^2
*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c
*d)/d)^2 + b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*
tan(1/2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan
(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x + d*x + c -
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^3*c*real_part(cos_integral(
-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b*c*d^2*real
_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/
d)^2 - b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(
1/2*(b*c + c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2
*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/
2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d)
)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x +
d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(
cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 -
b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(
b*c + c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*
d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*real_part(cos_integral(b*x + d
*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2
*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d
*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x +
d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 +
2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1
/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d
*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*real_part(cos_integral(-b*x - d
*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b
^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c
*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*ta
n(1/2*(b*c + c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)
^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1
/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x + d*x + c
- b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^3*c*real_part(cos_integral(-b
*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(
cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b
^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*
a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d
*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*b^2*d*real_part(cos_integral(-b
*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c
*d)/d) - 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)
^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/
2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*real_part(co
s_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/
2*(b*c - c*d)/d) - 4*b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*
x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b
*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*r
eal_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)
*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*ta
n(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*real_part(cos_integral(-b*x + d*x + c -
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*r
eal_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c
)*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan
(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*real_part(cos_integral(b*x - d*x - c +
b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*rea
l_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*
tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*ta
n(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos_integral(b*x - d*x - c +
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*d^3*
real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1
/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x
)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*d^3*real_part(cos_integral(-b*x +
d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/
d) - 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(
1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1
/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos_integral(-b
*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/
d) + 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1
/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*d^3*real_part(cos_integral(b*x
- d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)
- 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1
/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1
/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*b^2*d*real_part(cos_integral(b*
x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c
- c*d)/d) - 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*
x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))
*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*d^3*rea
l_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c +
c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*
x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*d^3*real_part(cos_integral(b*x -
d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/
d) + 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan
(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b
*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b^2*d*real_part(cos_i
ntegral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2
*(b*c - c*d)/d) - 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/
2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d
))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*d^3*real_
part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d
)^2*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*t
an(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*real_part(cos_integral(b*x - d*x
- c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4
*b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*
c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*real_part(cos_integra
l(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c -
c*d)/d) + 4*b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)
*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan
(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*real_part
(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*ta
n(1/2*(b*c - c*d)/d) - 4*b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a -
1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c
/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*real_pa
rt(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(
1/2*(b*c - c*d)/d) + 4*b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a
- 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/
d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*d^3*real
_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d
)^2*tan(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*
tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*d^3*real_part(cos_integral(-b*x + d*x
+ c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) -
2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*
(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1
/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos_integra
l(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c
- c*d)/d) + 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)
^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*ta
n(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*d^3*real_part(cos_
integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b
*c - c*d)/d) - 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)
^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan
(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + b^3*c*real_part(cos_i
ntegral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 - b
*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/
2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x + d*x + c - b
*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_inte
gral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3
*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(
b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral
(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c
*d)/d)^2 + 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*
d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan
(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(c
os_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b
*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b
*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2
*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)
^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1
/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x + d*x
+ c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_int
egral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^
2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c -
c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^
2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*t
an(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*
x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x - d*x - c +
b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(
-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real
_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/
d)^2 - b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan
(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1
/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integr
al(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c -
c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/
2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*t
an(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_pa
rt(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1
/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d
))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part
(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/
2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))
*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part
(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/
2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*
tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x +
d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos
_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c
*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c
- c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*
c)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)
^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1
/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x - d*x
- c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_int
egral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2
*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c
*d)/d)^2 - b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*
tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan
(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x + d*x + c -
b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(
-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real
_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/
d)^2 + 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(
1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(
-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/
d)^2 - 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1
/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(b
*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)
^2 + 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1
/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(b*
x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(c
os_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c
*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/
d)^2 + b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/
2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/
2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2
*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2
*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x - d*x - c -
b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*
x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c -
c*d)/d)^2 + 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*
x)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))
*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*rea
l_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c +
c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*
x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b*c*d^2*real_part(cos_integral(b*x
+ d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)
^2 + 4*b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1
/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2
*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b^3*c*real_part(cos_i
ntegral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*
c - c*d)/d)^2 - 4*b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a +
1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d
))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b*c*d^2*rea
l_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d
)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*t
an(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(b*x + d*x +
c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2
*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(
b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1
/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integra
l(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c -
c*d)/d)^2 - 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2
*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan
(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(c
os_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(
1/2*(b*c - c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2
*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*real_part(cos_integral(b*x + d*x + c + b
*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d
*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c +
c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x
)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x
+ d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d
)^2 + 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1
/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b
*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*real_part(cos_int
egral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b
*c - c*d)/d)^2 + 4*b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^
2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*t
an(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b^3*c*real_part(cos
_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c
- c*d)/d)^2 - 4*b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)
^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*ta
n(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_
integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c
- c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)
^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan
(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_i
ntegral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b
*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/
2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*
c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x + d*x + c - b
*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_inte
gral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3
*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(
b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*
c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/
2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*
c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integra
l(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2
*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c
- c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c
*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*
d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d
))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral
(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d
*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d
)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^
2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(-b*x -
d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)
^2 + 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2
*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*
x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*real_part(cos_inte
gral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c
- c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/
2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))
*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_pa
rt(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2
- b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/
2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c +
c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)
^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*t
an(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x +
d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos
_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b*
c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b
*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1
/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))
*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_
part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^
2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*ta
n(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(b*x - d*x
- c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 -
2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c
+ c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1
/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(
-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c
*d)/d)^2 + 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(
1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a
+ 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integ
ral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c
*d)/d)^2 - 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1
/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a
- 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x + d*x + c +
b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(
b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_
part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)
^2 - b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1
/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*
c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a - 1/2
*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/
d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*
x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^
2 + 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c
+ c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2
*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*real_part(cos_integral(-b*x
- d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2
- 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*ta
n(1/2*a + 1/2*c) + 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b
*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c) + 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2
*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c) - 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d)
)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c) - 4*b^3*c*sin_integral((b*d*x + d^2*x +
b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c) + 4*b*c*d^2*sin_integral((
b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c) - b^2*d*ima
g_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*
c)^2 + d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*ta
n(1/2*a + 1/2*c)^2 - b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)
^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1
/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 - d^3*imag_part(cos_integral(-b*x + d*x + c
- b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + b^2*d*imag_part(cos_integra
l(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 - d^3*imag_p
art(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)
^2 - 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan
(1/2*a + 1/2*c)^2 + 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1
/2*d*x)^2*tan(1/2*a + 1/2*c)^2 - 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*
tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*
c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c) - 2*b*c*d^2*imag_part(cos_integral(
b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c) - 2*b^3*c*imag_pa
rt(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)
+ 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*
tan(1/2*a - 1/2*c) + 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*a - 1/2*c) - 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)
^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c) + 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/
2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) - 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c +
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) - 2*b^3*c*imag_part(cos_integral(-b*x
+ d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) + 2*b*c*d^2*imag_part(co
s_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) + 4*b^3*c
*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)
- 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*
a - 1/2*c) + 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c
)^2*tan(1/2*a - 1/2*c) - 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan
(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) - 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1
/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) + 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*
tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) + 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c -
c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) - 4*b*c*d^2*sin_integral((b*d*x - d^
2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) - 4*b^2*d*tan(1/2*b*x + 1
/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*
tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) + b^2*d*imag_part(cos_integral(b*x + d*x + c
+ b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - d^3*imag_part(cos_integral(
b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 + b^2*d*imag_pa
rt(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2
- d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/
2*a - 1/2*c)^2 - b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 + d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2
*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2
*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 + d^3*imag_part(cos_integral(-b*x - d*x - c -
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 + 2*b^2*d*sin_integral((b*d*x +
d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - 2*d^3*sin_inte
gral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 + 2
*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a
- 1/2*c)^2 - 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x
)^2*tan(1/2*a - 1/2*c)^2 - 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan
(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 + 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 + 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*t
an(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 - 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x
- c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 - 4*b^3*c*sin_integral((b*d*x +
d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 + 4*b*c*d^2*sin_integr
al((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 - 2*b^3*c*i
mag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2
+ 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/
2*a - 1/2*c)^2 + 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a +
1/2*c)*tan(1/2*a - 1/2*c)^2 - 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)
^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 - 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 + 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*ta
n(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)
^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 - b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*ta
n(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + b^2*d*imag_part(cos_integral(b*x - d*x - c
+ b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - d^3*imag_part(cos_integral(b*x
- d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - b^2*d*imag_part(cos_i
ntegral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + d^3*imag
_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2
+ b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2
*a - 1/2*c)^2 - d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c
)^2*tan(1/2*a - 1/2*c)^2 - 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/
2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)
^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*ta
n(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*
x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*
x)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*
x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*
tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + b^2*d*imag_part(cos_integral(b*x - d*x -
c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - d^3*imag_part(cos_integral(b*
x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - b^2*d*imag_part(cos
_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + d^3*im
ag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)
^2 + b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1
/2*a - 1/2*c)^2 - d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2
*c)^2*tan(1/2*a - 1/2*c)^2 - 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(
1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*
x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b
*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*
tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)*tan(1/2*b*
x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)*tan(1/2*b*x - 1/2*d*
x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/
2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(b*x + d*
x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d) - 2*b^3*c*imag_part(c
os_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)
+ 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*
tan(1/2*(b*c + c*d)/d) + 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*
b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d) - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d) + 4*b^2*d*imag_part(cos_integral(b*x + d*x + c + b*
c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) - 4*d^3*imag
_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c
)*tan(1/2*(b*c + c*d)/d) - 4*b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*ta
n(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) + 4*d^3*imag_part(cos_integral(-b*x - d*x - c
- b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) + 8*b^2
*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1
/2*c)*tan(1/2*(b*c + c*d)/d) - 8*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(
1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) - 2*b^3*c*imag_part(cos_integral(b*x + d*x + c
+ b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b*c*d^2*imag_part(cos_integ
ral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b^3*c*ima
g_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)
/d) - 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*
tan(1/2*(b*c + c*d)/d) - 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*
a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*
d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*ta
n(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(b*x + d*
x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b^3*c*imag_part(cos_i
ntegral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*b*c*
d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c
+ c*d)/d) - 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2
*tan(1/2*(b*c + c*d)/d) + 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1
/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/
d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*b^3*c*imag_part(cos_integral(-b*x
- d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b*c*d^2*imag_par
t(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) +
4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*
c + c*d)/d) - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c
)^2*tan(1/2*(b*c + c*d)/d) + 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*t
an(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*
b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c -
b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b*c*d^2*imag_part(cos_integr
al(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 4*b^3*c*sin
_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)
- 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*
(b*c + c*d)/d) + 4*b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1
/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 4*d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1
/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 4*b^2*d*imag_part(cos_int
egral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c +
c*d)/d) + 4*d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*t
an(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 8*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 8*d^3*sin_integral((b*d*x + d^2*x
+ b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 4*b
^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/
2*c)^2*tan(1/2*(b*c + c*d)/d) - 4*d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*
tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 4*b^2*d*imag_part(cos_integral(-b*x - d*x - c
- b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 4*d^3*ima
g_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*
tan(1/2*(b*c + c*d)/d) + 8*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*
a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 8*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan
(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*b^3*c*imag_part(cos_i
ntegral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b*c*d^2*i
mag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)
+ 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(
b*c + c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2
*c)^2*tan(1/2*(b*c + c*d)/d) - 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/
2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*
c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/
2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + d^3*imag_part(cos_integral(b*x + d*x +
c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d*imag_part(cos_i
ntegral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + d
^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b
*c + c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*
x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))
*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x
- d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*sin_i
ntegral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d
)^2 + 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(
1/2*(b*c + c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*
x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*
d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/
d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*
x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b^3*c*imag_part
(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 +
2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*
(b*c + c*d)/d)^2 + 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/
2*c)*tan(1/2*(b*c + c*d)/d)^2 - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2
*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*
b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c
+ b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b^3*c*imag_part(cos_integra
l(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*b*c*d^2*im
ag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/
d)^2 + 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2
*(b*c + c*d)/d)^2 - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a +
1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c
)*tan(1/2*(b*c + c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(
1/2*(b*c + c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*
x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(
1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + d^3*imag_part(cos_integral(b*x - d*x - c
+ b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^2*d*imag_part(cos_integra
l(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_p
art(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)
^2 - b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1
/2*(b*c + c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a +
1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x
)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*
b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c
*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*sin_integral((b*d*x - d^
2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 4*b^2*d*tan(1/2*b
*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x + 1
/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^2*d*imag_part(cos_integral(
b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_part
(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 -
b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b
*c + c*d)/d)^2 + d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c
)^2*tan(1/2*(b*c + c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*
tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*
x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x - d*x - c - b
*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + d^3*imag_part(cos_integral(-b*
x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b^2*d*sin_int
egral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 -
2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c +
c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2
*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2
*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1
/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^
2*tan(1/2*(b*c + c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*t
an(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*
b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c -
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integr
al(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 4*b^3*c*sin
_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2
- 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b
*c + c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1
/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*
x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan
(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(-b*x + d*
x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 4*b^3*c*sin_integral((b
*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 4*b*c*d^2*
sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)
^2 - 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 4
*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*b^3*c
*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)
^2 - 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*
(b*c + c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/
2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2
*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a +
1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*
tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2
*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a
- 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*
tan(1/2*(b*c + c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1
/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/
2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*
tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_part(cos_integral(b*x - d*x
- c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d*imag_part(cos_int
egral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + d^3*im
ag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d
)/d)^2 + b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*t
an(1/2*(b*c + c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2
*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2
*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(
1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c
- c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*d^3*sin_integral((b*d*x
- d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 4*b^2*d*tan(1
/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d*imag_part(cos_integ
ral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + d^3*imag_
part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)
^2 + b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/
2*(b*c + c*d)/d)^2 - d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1
/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x
)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/
2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x - d*x - c
- b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_part(cos_integral
(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*sin
_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^
2 + 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b
*c + c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*
c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan
(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x + 1/2*d*x)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a
- 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x + 1/2*d*x)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2
*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan
(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*
a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c
/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(-b*x
- d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 4*b^3*c*sin_integral((b
*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 4*b*c*d^2*sin_
integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 4*b
^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 4*b*d^2*tan(1
/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x - 1
/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x - 1/2*d*x)^2*
tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x + d*x + c
+ b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_part(cos_integral(b*x
+ d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^2*d*imag_part(cos_i
ntegral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_
part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 -
b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c
+ c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*ta
n(1/2*(b*c + c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a
- 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2
*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a
+ 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*
tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c
- c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*d^3*sin_integral((b*d*x - d^
2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x +
1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)*
tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a
+ 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2
*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/
2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(b*x - d*
x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d) + 2*b^3*c*imag_part(c
os_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)
- 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*
tan(1/2*(b*c - c*d)/d) - 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*
b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d) - 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*
c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(
b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*b^3*c*imag_pa
rt(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)
- 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(
1/2*(b*c - c*d)/d) - 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a +
1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)
^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/
2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(b*x - d*x -
c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*b^3*c*imag_part(cos_integ
ral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b*c*d^2*
imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c
*d)/d) - 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan
(1/2*(b*c - c*d)/d) + 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 4*b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*
d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*d^3*imag_part(cos_integral(b*x -
d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)
+ 4*b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*t
an(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) - 4*d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) - 8*b^2*d*sin_integral((b*d*x -
d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d
)/d) + 8*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan
(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) - 4*b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*d^3*imag_part(cos_integral(b*x -
d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4
*b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a
- 1/2*c)*tan(1/2*(b*c - c*d)/d) - 4*d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x
)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) - 8*b^2*d*sin_integral((b*d*x - d^2*x + b*c
- c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 8*d^3*sin
_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(
1/2*(b*c - c*d)/d) - 4*b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*t
an(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*b^2*d*imag_part(cos
_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b
*c - c*d)/d) - 4*d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*
c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) - 8*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b
*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 8*d^3*sin_integral((b*d*x - d
^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) +
2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*
(b*c - c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d
*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*
tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 4*b^3*c*sin_integral((b*d*x - d^2*x + b
*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 4*b*c*d^2*sin_integral((b*
d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*b^3*c*ima
g_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/
d) - 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*ta
n(1/2*(b*c - c*d)/d) - 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/
2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)
*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 4*b*c*d^2*sin_integral((b*d*x - d^2*x
+ b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*b^3*c*imag_part(cos_i
ntegral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b*c*d^2*i
mag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)
- 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(
b*c - c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2
*c)^2*tan(1/2*(b*c - c*d)/d) + 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/
2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*
c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(
1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(b*x -
d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b^3*c*imag_part
(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d
) - 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^
2*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/
2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b^3*c*imag_part(cos_integral(b*x - d*x - c +
b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^2*imag_part(cos_int
egral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b^3
*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(
b*c - c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*
c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d
*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*
tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b^3*c*imag_part(cos_integral(b*x
- d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^2*imag_part
(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2
*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(
b*c - c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c +
c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*ta
n(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*
a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b^2*d*imag_part(cos_integral(b*x - d*x - c +
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*d^3*im
ag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d
)^2*tan(1/2*(b*c - c*d)/d) + 4*b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*
tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*d^3*imag_part(cos_integral(-b*x + d*x +
c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 8*b
^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*
d)/d)^2*tan(1/2*(b*c - c*d)/d) + 8*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*ta
n(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b^2*d*imag_part(cos_integral(b*x - d*x -
c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*d^
3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*
d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x
)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*d^3*imag_part(cos_integral(-b*x + d
*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) -
8*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c
+ c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 8*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^
2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b^2*d*imag_part(cos_integral(b*x - d*
x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*d^
3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d
)^2*tan(1/2*(b*c - c*d)/d) + 4*b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(
1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*d^3*imag_part(cos_integral(-b*x + d*x + c -
b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 8*b^2*d*sin
_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(
1/2*(b*c - c*d)/d) + 8*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)
*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(
1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(b*x - d*x
- c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b^3*c*imag_part(cos_int
egral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^
2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c -
c*d)/d) + 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*t
an(1/2*(b*c - c*d)/d) - 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*
c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*
d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*
tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x
- d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part
(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)
^2 - b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*t
an(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2
*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x - d*x - c -
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*sin_integral((b*d
*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*
sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c
*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)
^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1
/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*
b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c
+ b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integra
l(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*im
ag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/
d)^2 - 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2
*(b*c - c*d)/d)^2 + 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a +
1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*
x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*ta
n(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(-b*x - d*x
- c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_
integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^3
*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)
/d)^2 + 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(
1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b
*c - c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c
*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*
tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2
*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/
2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*ta
n(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x + d*x
+ c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_inte
gral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*i
mag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*
d)/d)^2 - d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*ta
n(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*
a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*
x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1
/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*sin_integral((b*d*x - d^2*x + b*c -
c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x
)^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*ta
n(1/2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x + d*x +
c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integra
l(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_
part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)
^2 - d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*
(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a +
1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)
^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1
/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x - d*x - c
- b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x
+ d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_in
tegral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 +
2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*
c - c*d)/d)^2 - 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^
2*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(
1/2*(b*c - c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b
*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1
/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*
x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan
(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(-b*x + d*
x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^3*c*sin_integral((b
*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 4*b*c*d^2*
sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)
^2 - 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/
2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2
*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1
/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/
d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^3*c*sin_integral((b*d*x - d^2*x
+ b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 4*b*c*d^2*sin_integral
((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d
*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 4*b*d^2*tan(1
/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(c
os_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d
^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/
d)^2 + 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2
*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a -
1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*ta
n(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a +
1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*t
an(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a -
1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*ta
n(1/2*(b*c - c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c
- c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c
)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan
(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d)
)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x +
d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_
integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2
*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c
- c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^
2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(
1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/
2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*t
an(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_integral((b*d*x - d^2*x + b*
c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x + 1/2
*d*x)^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^
2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x + d*
x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_int
egral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*i
mag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d
)/d)^2 + d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(
1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*
a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*
d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*t
an(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x - d*x
- c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*sin_integral((b
*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*si
n_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)
^2 - 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2
*(b*c - c*d)/d)^2 + 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2
*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x + 1/2*d*x)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*
tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x + 1/2*d*x)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/
2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2
*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*t
an(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2
*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c -
b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^3*c*sin_integral((b*d*x + d^2*x
+ b*c + c*d)/d)*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*c*d^2*sin_integral((b*
d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2
*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2
*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x - 1/2*d*x)^2*ta
n(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a +
1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*ta
n(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(b*x + d*x + c +
b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x
- d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_int
egral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_
part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2
- d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c -
c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*t
an(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)^2*
tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a +
1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*t
an(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_integral((b*d*x - d^2*x + b*c -
c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)*ta
n(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)*tan(1/2*a +
1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2*t
an(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*
d*x)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/
d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(
-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*
imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c -
c*d)/d)^2 + 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/
d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*t
an(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/
2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x + d*
x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(c
os_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2
+ 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)*ta
n(1/2*(b*c - c*d)/d)^2 + 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*
(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*imag_part(cos_integral(b*x + d*x + c + b*
c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*d^3*imag
_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*
tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*ta
n(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*d^3*imag_part(cos_integral(-b*x - d*x - c
- b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 8*b^2
*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)
/d)*tan(1/2*(b*c - c*d)/d)^2 - 8*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(
1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*imag_part(cos_integral(b*x + d*x + c
+ b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*d^3*
imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)
/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^
2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*d^3*imag_part(cos_integral(-b*x - d*x
- c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 8
*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c +
c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 8*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*
tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*x + d*x
+ c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_i
ntegral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c
*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*
d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d
)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*
(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/
2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d)
)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x
+ d*x + c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(c
os_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*
b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b
*c - c*d)/d)^2 + 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/
d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a - 1/2*c)^2*tan(1
/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a
+ 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*d^3*imag_part(cos_integral(b
*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2
- 4*b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*
c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c
)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 8*b^2*d*sin_integral((b*d*x + d^2*x +
b*c + c*d)/d)*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 8*d^3
*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*ta
n(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2
*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x - d*x - c + b*
c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(
b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*ima
g_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c -
c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d
)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*
tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/
2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x + d^2*x + b
*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_integral((
b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b
^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*
c - c*d)/d)^2 - 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)
/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*(b*c + c*d)/d
)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*(b*c + c*d)/d)^
2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan
(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*
x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x - d*x - c
+ b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integ
ral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d
*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*
c - c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*
d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x
)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*ta
n(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x + d^2*x
+ b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_integr
al((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 +
2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2
*(b*c - c*d)/d)^2 - 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c +
c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x + 1/2*d*x)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*
d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x + 1/2*d*x)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)
/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan
(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(
1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(-b*x - d*x -
c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_in
tegral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b^3*c
*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d
)^2 - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/
2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c
- c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d
)/d)^2 - 4*b^2*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2
+ 4*b*d^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2
*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c -
c*d)/d)^2 - d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*
tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(
b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*
c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))
*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x + d*
x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_i
ntegral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*
imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c
*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*t
an(1/2*(b*c - c*d)/d)^2 - 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c
+ c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^
2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/
2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)*tan(1/2*a +
1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)*tan(1/2*a + 1/2*c)
^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan
(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*(
b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a -
1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*
c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(-b
*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_p
art(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2
- 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*
c - c*d)/d)^2 + 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d
)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*ta
n(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*
(b*c - c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c -
c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/
d)^2 + 4*b^2*d*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b
*d^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_pa
rt(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2
+ d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b
*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)
/d)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1
/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a
- 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x + d*x + c - b*
c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b
*x - d*x - c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(
cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 -
2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*
c - c*d)/d)^2 + 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^
2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*c)^2*tan(1/2*
(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*
c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x + 1/2*d*x)*tan(1/2*a - 1/2*c)^2*t
an(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x + 1/2*d*x)*tan(1/2*a - 1/2*c)^2*tan(1/2
*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c
+ c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)
/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(
1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c -
c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d
*x)^2 - b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)
^2 - b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2 +
b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2 - b^3
*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2 + b*c*d^2
*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2 + b^3*c*rea
l_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2 - b*c*d^2*real_
part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2 + 2*b^2*d*real_pa
rt(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c) -
2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/
2*a + 1/2*c) + 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a + 1/2*c) - 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2
*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c) - b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*
x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2
*d*x)^2*tan(1/2*a + 1/2*c)^2 - b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*t
an(1/2*a + 1/2*c)^2 + b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*
a + 1/2*c)^2 - b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*
c)^2 + b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 -
b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + b*c*d^2
*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 - b^3*c*real_pa
rt(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + b*c*d^2*real_part(cos_
integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 - b^3*c*real_part(cos_integral(
b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + b*c*d^2*real_part(cos_integral(b*x - d
*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 - b^3*c*real_part(cos_integral(-b*x + d*x + c -
b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d
))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 - b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1
/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 - 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*
d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c) + 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(
1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c) - 2*b^2*d*real_part(cos_integral(-b*x + d*x +
c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c) + 2*d^3*real_part(cos_integr
al(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c) - 2*b^2*d*rea
l_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) +
2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a
- 1/2*c) - 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)
^2*tan(1/2*a - 1/2*c) + 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2
*a + 1/2*c)^2*tan(1/2*a - 1/2*c) - 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*
x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) + 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*
x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) - 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d
))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) + 2*d^3*real_part(cos_integral(-b*x + d*x
+ c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) + b^3*c*real_part(cos_integral(
b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - b*c*d^2*real_part(cos_integral(b*x + d
*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 + b^3*c*real_part(cos_integral(b*x - d*x - c +
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))
*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 + b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2
*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 + b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x
)^2*tan(1/2*a - 1/2*c)^2 - b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*ta
n(1/2*a - 1/2*c)^2 + b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a -
1/2*c)^2 - b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)
^2 + b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - b*c*
d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 + b^3*c*real_
part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - b*c*d^2*real_part(c
os_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 + b^3*c*real_part(cos_integ
ral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - b*c*d^2*real_part(cos_integral(-b
*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 + 2*b^2*d*real_part(cos_integral(b*x + d*
x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 - 2*d^3*real_part(cos_integra
l(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 + 2*b^2*d*real_part
(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 - 2*d^
3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*
c)^2 + 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(
1/2*a - 1/2*c)^2 - 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1
/2*c)*tan(1/2*a - 1/2*c)^2 + 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*
tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 - 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 - b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(
1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2
*c)^2*tan(1/2*a - 1/2*c)^2 + b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2
*a - 1/2*c)^2 - b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)
^2 + b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - b*c*d^2
*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - b^3*c*real_part(c
os_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + b*c*d^2*real_part(cos_integra
l(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - 2*b^2*d*real_part(cos_integral(b*x + d*
x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d) + 2*d^3*real_part(cos
_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d) - 2
*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1
/2*(b*c + c*d)/d) + 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d) + 4*b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/
2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) - 4*b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*
tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) + 4*b^3*c*real_part(cos_integral(-b*x - d*x
- c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) - 4*b*c*d^2*real_part(cos_in
tegral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) + 4*b^3*c*r
eal_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/
d) - 4*b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(
1/2*(b*c + c*d)/d) + 4*b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*
a + 1/2*c)*tan(1/2*(b*c + c*d)/d) - 4*b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/
2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) + 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*ta
n(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*d^3*real_part(cos_integral(b*x + d*x +
c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b^2*d*real_part(cos_integ
ral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*d^3*real
_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/
d) + 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(
1/2*(b*c + c*d)/d) - 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a +
1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d
*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(
1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*b^2*d*real_part(cos_integral(b*x + d*x +
c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*d^3*real_part(cos_integra
l(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*b^2*d*real_
part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d
) + 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/
2*(b*c + c*d)/d) - 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)
^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1
/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*d^3*real_part(cos_integral(-b*x - d*x - c
- b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 4*b^3*c*real_part(cos_integra
l(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 4*b*c*d^2*real_part
(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 4*b^3*c
*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d
) - 4*b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*
(b*c + c*d)/d) + 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c
)^2*tan(1/2*(b*c + c*d)/d) - 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2
*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2
*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(
1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - b^3*c*real_part(cos_integral(b*x + d*x + c + b*
c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d
))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*ta
n(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1
/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b
*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1
/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2
*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)
^2*tan(1/2*(b*c + c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*
tan(1/2*(b*c + c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1
/2*(b*c + c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*
(b*c + c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c
+ c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c +
c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d
)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/
d)^2 - 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(
1/2*(b*c + c*d)/d)^2 + 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2
*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*ta
n(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x + d*x
+ c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*real_part(cos_integ
ral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*rea
l_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d
)^2 + 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/
2*(b*c + c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c +
c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)
^2 - b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b*c*
d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^3*c*real_
part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b*c*d^2*real_part(c
os_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^3*c*real_part(cos_integ
ral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b
*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x - d*
x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*real_part(cos_int
egral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*r
eal_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)
/d)^2 + 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(
1/2*(b*c + c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2
*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*
d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*t
an(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*real_part(cos_integral(-b*x + d*x
+ c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*real_part(cos_int
egral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*real_pa
rt(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b
^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*
d)/d)^2 + 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/
2*(b*c + c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c +
c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)
^2 + b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b*c*
d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^3*c*real_
part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b*c*d^2*real_part(c
os_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^3*c*real_part(cos_integ
ral(-b*x - d*x - c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b
*x - d*x - c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x + d*
x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*real_part(cos_integra
l(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*real_part
(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*d^
3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/
d)^2 + 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^
2*tan(1/2*(b*c - c*d)/d) - 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1
/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d) + 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b
*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d) - 2*d^3*real_part(cos_integral(-b*x + d*x + c
- b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d) + 2*b^2*d*real_part(cos_int
egral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*d^3*rea
l_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/
d) + 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan
(1/2*(b*c - c*d)/d) - 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*
d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(
1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*b^2*d*real_part(cos_integral(-b*x + d*x +
c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*d^3*real_part(cos_integr
al(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*rea
l_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)
+ 4*b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/
2*(b*c - c*d)/d) - 4*b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a
- 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*
d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(
1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*real_part(cos_integral(b*x - d*x -
c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*real_part(cos_integra
l(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*real
_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)
- 4*b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c
- c*d)/d) + 4*b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*
tan(1/2*(b*c - c*d)/d) - 4*b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*
a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*
c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/
2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*d^3*real_part(cos_integral(b*x - d*x - c +
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos_integral(
-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*d^3*real_par
t(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) -
2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*
(b*c - c*d)/d) + 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2
*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^
2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*
b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos_integral(b*x - d*x - c +
b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*d^3*real_part(cos_integral(b*x -
d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos_int
egral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*d^3*real_p
art(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2
*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/
2*(b*c - c*d)/d) - 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c
+ c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2
*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d)
)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b^2*d*real_part(cos_integral(b*
x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*d^3*real_pa
rt(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/
d) + 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2
*tan(1/2*(b*c - c*d)/d) - 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1
/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a
+ 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/
d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b^2*d*real_part(cos_integral(-b*x
+ d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*d^3*real_part(co
s_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b
^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c -
c*d)/d) + 4*b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^
2*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*
(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a
- 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/
d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*d^3*real_part(cos_integral(b*x -
d*x - c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos
_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*d^
3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c -
c*d)/d) + b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d
)^2 - b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2
+ b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 - b*
c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c
*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*r
eal_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_
part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_pa
rt(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(c
os_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_
integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integ
ral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral
(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x
+ d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x +
d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x - d*x
- c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x - d*x -
c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(b*x + d*x + c
+ b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(
b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_pa
rt(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2
- 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b
*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1
/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2
*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2
*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(-b*x - d*x - c -
b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(b*
x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x + d*x
+ c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x - d*x - c + b*
c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*t
an(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a
+ 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2
*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*ta
n(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*
(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a -
1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)
^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1
/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(-b*x + d*x + c
- b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integra
l(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_pa
rt(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 +
2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(
b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1
/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*t
an(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a +
1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))
*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(-b*x + d*x +
c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(b*
x + d*x + c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x + d*x
+ c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x - d*x - c + b*
c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*t
an(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a
- 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2
*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a - 1/2*c)^2*ta
n(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*
(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c
)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2
*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1
/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*ta
n(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x + d*x + c
+ b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*real_part(cos_integ
ral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d
*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c
- c*d)/d)^2 + 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*
d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)
^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(
1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(-b*x - d
*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*real_part(co
s_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 +
4*b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c
- c*d)/d)^2 - 4*b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)
/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(
1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/
2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(b*x + d*x + c +
b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(b*
x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part
(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 -
2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c
- c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)
/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1
/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a
- 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*
c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(b*x
+ d*x + c + b*c/d))*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x + d
*x + c + b*c/d))*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x - d*x -
c + b*c/d))*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x - d*x - c +
b*c/d))*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c
/d))*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d
))*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*t
an(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan
(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/
2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*real_part(cos_integral(b*x + d*x + c +
b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(
-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*real_par
t(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 +
2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b
*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d
)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)*tan(
1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*
a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x + d*x + c + b*
c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2 - d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*t
an(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2 - b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/
2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2 + d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2 + b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2
*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2 - d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^
2*tan(1/2*b*x - 1/2*d*x)^2 - b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*ta
n(1/2*b*x - 1/2*d*x)^2 + d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*
b*x - 1/2*d*x)^2 + 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x -
1/2*d*x)^2 - 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)
^2 - 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2 + 2
*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2 - 2*b^3*c*i
mag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c) + 2*b*c*d^2*imag_par
t(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c) + 2*b^3*c*imag_part(cos_int
egral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c) - 2*b*c*d^2*imag_part(cos_integral(
-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c) - 4*b^3*c*sin_integral((b*d*x + d^2*x + b
*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c) + 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/
d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c) - 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/
2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c) + 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a + 1/2*c) + 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x
)^2*tan(1/2*a + 1/2*c) - 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*ta
n(1/2*a + 1/2*c) - 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/
2*c) + 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c) + 4*b
^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c) - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*t
an(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c) - b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^
2*tan(1/2*a + 1/2*c)^2 - b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2
*a + 1/2*c)^2 + d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)
^2 + b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 - d^3
*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + b^2*d*imag_pa
rt(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 - d^3*imag_part(cos_int
egral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 - 2*b^2*d*sin_integral((b*d*x + d
^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + 2*d^3*sin_integral((b*d*x + d^2*x + b*c +
c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 - 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*t
an(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^
2 + 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2 - b^2*d*imag_part(cos_integra
l(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + d^3*imag_part(cos_integral(b*x + d*x
+ c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 - b^2*d*imag_part(cos_integral(b*x - d*x - c + b*
c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1
/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 - d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^
2*tan(1/2*a + 1/2*c)^2 + b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/
2*a + 1/2*c)^2 - d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*
c)^2 - 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + 2*d
^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 - 2*b^2*d*sin_int
egral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + 2*d^3*sin_integral((b*d*x
- d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)*tan(1/
2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a +
1/2*c)^2 + 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)
- 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c) - 2*b^3
*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c) + 2*b*c*d^2*ima
g_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c) + 4*b^3*c*sin_integra
l((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c) - 4*b*c*d^2*sin_integral((b*d*x -
d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c) + 2*b^3*c*imag_part(cos_integral(b*x - d*x
- c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c) - 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b
*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c) - 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*t
an(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c) + 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2
*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c) + 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d
*x)^2*tan(1/2*a - 1/2*c) - 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(
1/2*a - 1/2*c) - 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c) - 4*b*d^2*tan(1/
2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c) + 2*b^3*c*imag_part(cos_integral(b*x - d*x - c
+ b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) - 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*t
an(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) - 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1
/2*c)^2*tan(1/2*a - 1/2*c) + 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*ta
n(1/2*a - 1/2*c) + 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)
- 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) + 4*b^2*d*tan
(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) + 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1
/2*c)^2*tan(1/2*a - 1/2*c) - 4*b^2*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) - 4*b*d^
2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) + b^2*d*imag_part(cos_integral(b*x + d*x +
c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))
*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 + b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*
b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d
*x)^2*tan(1/2*a - 1/2*c)^2 - b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*ta
n(1/2*a - 1/2*c)^2 + d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a -
1/2*c)^2 - b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2
+ d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 + 2*b^2*d
*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - 2*d^3*sin_integra
l((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 + 2*b^2*d*sin_integral((b*d*x -
d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - 2*d^3*sin_integral((b*d*x - d^2*x + b*c
- c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*
d*x)*tan(1/2*a - 1/2*c)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a - 1/2*c)^2 + b^2
*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - d^3*imag_par
t(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 + b^2*d*imag_part(cos_int
egral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - d^3*imag_part(cos_integral(b*x -
d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - b^2*d*imag_part(cos_integral(-b*x + d*x + c
- b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 + d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))
*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2
*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 + d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2
*d*x)^2*tan(1/2*a - 1/2*c)^2 + 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*ta
n(1/2*a - 1/2*c)^2 - 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/
2*c)^2 + 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - 2
*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - 4*b^2*d*tan(1
/2*b*x + 1/2*d*x)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 + 4*b*d^2*tan(1/2*b*x + 1/2*d*x)*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*t
an(1/2*a - 1/2*c)^2 + 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a -
1/2*c)^2 + 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 - 2
*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 - 4*b^3*c*sin
_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 + 4*b*c*d^2*sin_integral((b*d
*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*
a + 1/2*c)*tan(1/2*a - 1/2*c)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 - 4
*b^2*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 + 4*b*d^2*tan(1/2*b*x - 1/2*d*x)^2*tan
(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 - b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)
^2*tan(1/2*a - 1/2*c)^2 + d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a -
1/2*c)^2 + b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - d^
3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - b^2*d*imag_part(c
os_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + d^3*imag_part(cos_integral(-b
*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + b^2*d*imag_part(cos_integral(-b*x - d*x - c
- b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan
(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c
)^2*tan(1/2*a - 1/2*c)^2 + 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*a -
1/2*c)^2 + 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - 2*d
^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + 4*b^2*d*tan(1/2*b*x
+ 1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)*tan(1/2*a + 1/2*c)^2*ta
n(1/2*a - 1/2*c)^2 - 4*b^2*d*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - 4*b*d^2*tan(1/
2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*
c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d
))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d) - 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*t
an(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan
(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d) + 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d) - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2
*d*x)^2*tan(1/2*(b*c + c*d)/d) + 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)
^2*tan(1/2*(b*c + c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*
tan(1/2*(b*c + c*d)/d) - 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(
1/2*(b*c + c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/
2*(b*c + c*d)/d) + 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c +
c*d)/d) - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/
d) + 4*b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/
2*(b*c + c*d)/d) - 4*d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1
/2*c)*tan(1/2*(b*c + c*d)/d) - 4*b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^
2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) + 4*d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*
x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) + 8*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)
*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) - 8*d^3*sin_integral((b*d*x + d^2*x + b*c
+ c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) + 4*b^2*d*imag_part(cos_integral(
b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) - 4*d^3*imag_part(c
os_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) - 4*b^2
*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c +
c*d)/d) + 4*d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*ta
n(1/2*(b*c + c*d)/d) + 8*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)*tan(1/2*(b*c + c*d)/d) - 8*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*t
an(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) - 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a +
1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^
2*tan(1/2*(b*c + c*d)/d) + 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/
2*(b*c + c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c
+ c*d)/d) - 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) +
4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b^3*c*i
mag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*b*c*d^2*imag_par
t(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*b^3*c*imag_part(cos_int
egral(-b*x - d*x - c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(
-b*x - d*x - c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 4*b^3*c*sin_integral((b*d*x + d^2*x + b
*c + c*d)/d)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/
d)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 4*b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/
2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 4*d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d)
)*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 4*b^2*d*imag_part(cos_integral(-b*x - d*x -
c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 4*d^3*imag_part(cos_integral(-b*
x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 8*b^2*d*sin_integral((b
*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 8*d^3*sin_integr
al((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - b^2*d*imag_
part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + d^3*imag_part(co
s_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d*imag_part(cos_int
egral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + d^3*imag_part(cos_integral(b
*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x +
d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x + d*x +
c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x - d*x - c -
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d
))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan
(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2
*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*
tan(1/2*(b*c + c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*(b*c + c*d)/d)^2 +
4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*(b*c + c*d)/d)^2 - b^2*d*imag_part(cos_integra
l(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + d^3*imag_part(cos_integral(b*x +
d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x - d*x
- c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + d^3*imag_part(cos_integral(b*x - d*x - c + b
*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d
))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan
(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2
*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d
*x)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*ta
n(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*
(b*c + c*d)/d)^2 + 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c
*d)/d)^2 - 4*b^2*d*tan(1/2*b*x + 1/2*d*x)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + 4*b*d^2*tan(1/2*
b*x + 1/2*d*x)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(b*x + d*x +
c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c
/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan
(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a
+ 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)*ta
n(1/2*(b*c + c*d)/d)^2 - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)*tan(1/2*(b*c
+ c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 4*b*d^2*tan(1/2*
b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/
2*c)*tan(1/2*(b*c + c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 +
b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag
_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d*imag_part(cos
_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + d^3*imag_part(cos_integral(b
*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x + d*x
+ c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x + d*x + c - b*c
/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan
(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1
/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)^2*ta
n(1/2*(b*c + c*d)/d)^2 - 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c +
c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2
+ 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 4*b^2*d*t
an(1/2*b*x + 1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)*tan(1/2*a
+ 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)
/d)^2 + 4*b*d^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b^3*c*imag_part(cos_i
ntegral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral
(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(-b*x + d
*x + c - b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c
- b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*t
an(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a -
1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^
2 + 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x - 1/2*d
*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/
2*(b*c + c*d)/d)^2 + 4*b^2*d*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 4*b*d^2*tan(1/
2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/
d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2
*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*
c)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/
2*(b*c + c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c +
c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2
+ b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - d^3*i
mag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*sin_int
egral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*sin_integral((b*d*x
+ d^2*x + b*c + c*d)/d)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x - d^2*x +
b*c - c*d)/d)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/
d)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x + 1/2*d*x)*tan(1/2*a - 1/2*c)^2*tan(1/2
*(b*c + c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x + 1/2*d*x)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 4*b^2*d*tan
(1/2*b*x - 1/2*d*x)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 4*b^2*d*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2
+ 4*b*d^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*
x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(b*x -
d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d) + 2*b^3*c*imag_part(cos_integral(-b*x + d*x
+ c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x +
c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d
)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*t
an(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d) - 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/
2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b
*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d) + 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*(b*c - c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1
/2*d*x)^2*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^
2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(
1/2*(b*c - c*d)/d) - 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c
- c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/
d) + 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b
*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*s
in_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*sin_integra
l((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 4*b^2*d*imag_part(cos_integral(
b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*d^3*imag_part(c
os_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*b^2
*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c -
c*d)/d) - 4*d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*ta
n(1/2*(b*c - c*d)/d) - 8*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a
- 1/2*c)*tan(1/2*(b*c - c*d)/d) + 8*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*t
an(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) - 4*b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x
- 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*
tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*b^2*d*imag_part(cos_integral(-b*x + d*x
+ c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) - 4*d^3*imag_part(cos_integr
al(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) - 8*b^2*d*sin_i
ntegral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 8*
d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d
)/d) - 4*b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*
(b*c - c*d)/d) + 4*d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*
tan(1/2*(b*c - c*d)/d) + 4*b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*
a - 1/2*c)*tan(1/2*(b*c - c*d)/d) - 4*d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2
*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) - 8*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1
/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 8*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*
a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d)
)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1
/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1
/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)^
2*tan(1/2*(b*c - c*d)/d) + 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b
*c - c*d)/d) - 4*b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/
d) - 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) +
2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b
^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*b*c*d
^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*s
in_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*sin_int
egral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*b^2*d*imag_part(cos_i
ntegral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*d^3*ima
g_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)
+ 4*b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2
*(b*c - c*d)/d) - 4*d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)
/d)^2*tan(1/2*(b*c - c*d)/d) - 8*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*c)*tan(1/2*
(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 8*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*c)
*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/
2*b*x + 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*
d*x)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*
tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(
1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b
*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c -
c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c - c*d)/
d)^2 + 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 -
2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d
*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*sin_int
egral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1
/2*d*x)*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)
^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(
1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(
b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c
*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/
d)^2 + d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 -
b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3
*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*s
in_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*sin_integ
ral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*sin_integral((b
*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*sin_integral((b*d*x - d
^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x + 1/2*d*x)*tan(1/
2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x + 1/2*d*x)*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*
(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*
d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2
+ 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*b*c
*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^3*c*sin
_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 4*b*c*d^2*sin_integral(
(b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*
tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c
- c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*
b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x + d*x + c + b*
c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1
/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/
2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(
1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c
- c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)
^2 + b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3
*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*sin_i
ntegral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_integral((b*d
*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x - d^2*x
+ b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d
)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1
/2*(b*c - c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x + 1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*t
an(1/2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a
+ 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*
c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)*tan(
1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c
- c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d
)/d)^2 - 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 4*b
*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1
/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a -
1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^
2 - 4*b*d^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*a + 1/2*c)^
2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c -
c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^
2 - d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*i
mag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(co
s_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integra
l(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x + d
*x + c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x - d*x - c -
b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*t
an(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a - 1/2*c)^2*ta
n(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c
- c*d)/d)^2 + 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2
- 4*b^2*d*tan(1/2*b*x + 1/2*d*x)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x + 1/2*d*
x)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a - 1/2*c)^2*tan(1/2
*(b*c - c*d)/d)^2 - 4*b*d^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*tan
(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^
2*tan(1/2*(b*c - c*d)/d)^2 + 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*(b*c + c*d)/d)*tan
(1/2*(b*c - c*d)/d)^2 - 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*(b*c + c*d)/d)*tan(1/
2*(b*c - c*d)/d)^2 - 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b
*c - c*d)/d)^2 + 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c
- c*d)/d)^2 + 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/
d)^2 - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 +
4*b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c
- c*d)/d)^2 - 4*d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*
tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*
(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/
2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 8*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan
(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 8*d^3*sin_integral((b*d*x + d^2*x + b*c + c*
d)/d)*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*x +
d*x + c + b*c/d))*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(b*x + d*x + c
+ b*c/d))*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x - d*x - c + b*
c/d))*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*t
an(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1
/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*(b*
c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*(b*c +
c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*(b*c + c*d)/d
)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*(b*c + c*d)/d)^2*ta
n(1/2*(b*c - c*d)/d)^2 + 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b
*c - c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c
*d)/d)^2 - 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2
- 4*b^2*d*tan(1/2*b*x + 1/2*d*x)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x + 1/
2*d*x)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x - 1/2*d*x)*tan(1/2*(b*c + c*d)/
d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)
^2 - 4*b^2*d*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*a + 1/2*c)
*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1
/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*rea
l_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2 - b*c*d^2*real_part(cos_integral(b*x + d*
x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2 - b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x +
1/2*d*x)^2 + b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2 - b^3*c*real_part
(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2 + b*c*d^2*real_part(cos_integral(-b*x + d*x +
c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2 + b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2
*d*x)^2 - b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2 + b^3*c*real_part(c
os_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2 - b*c*d^2*real_part(cos_integral(b*x + d*x + c +
b*c/d))*tan(1/2*b*x - 1/2*d*x)^2 - b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)
^2 + b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2 - b^3*c*real_part(cos_int
egral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2 + b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/
d))*tan(1/2*b*x - 1/2*d*x)^2 + b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2
- b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2 + 2*b^2*d*real_part(cos_int
egral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c) - 2*d^3*real_part(cos_integral(b*x +
d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c) + 2*b^2*d*real_part(cos_integral(-b*x - d*x - c
- b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c) - 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))
*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c) + 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*
b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c) - 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d
*x)^2*tan(1/2*a + 1/2*c) + 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*ta
n(1/2*a + 1/2*c) - 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a +
1/2*c) - b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2 + b*c*d^2*real_part(cos_int
egral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2 - b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(
1/2*a + 1/2*c)^2 + b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2 - b^3*c*real_pa
rt(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2 + b*c*d^2*real_part(cos_integral(-b*x + d*x + c
- b*c/d))*tan(1/2*a + 1/2*c)^2 - b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2 +
b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2 - 2*b^2*d*real_part(cos_integral(
b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c) + 2*d^3*real_part(cos_integral(b*x - d*x -
c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c) - 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c
/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c) + 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1
/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c) - 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a - 1/2*c) + 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*
tan(1/2*a - 1/2*c) - 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*
a - 1/2*c) + 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)
- 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) + 2*d^3*real
_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) - 2*b^2*d*real_part(cos_int
egral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) + 2*d^3*real_part(cos_integral(-b*x + d
*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) + b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d)
)*tan(1/2*a - 1/2*c)^2 - b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a - 1/2*c)^2 + b^3*c*r
eal_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)^2 - b*c*d^2*real_part(cos_integral(b*x - d*x
- c + b*c/d))*tan(1/2*a - 1/2*c)^2 + b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)^
2 - b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)^2 + b^3*c*real_part(cos_integra
l(-b*x - d*x - c - b*c/d))*tan(1/2*a - 1/2*c)^2 - b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(
1/2*a - 1/2*c)^2 + 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c
)^2 - 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 + 2*b^2*d*r
eal_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 - 2*d^3*real_part(cos_i
ntegral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 - 2*b^2*d*real_part(cos_integral(b*x
+ d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d) + 2*d^3*real_part(cos_integral(b*x + d*x +
c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d) - 2*b^2*d*real_part(cos_integral(-b*x - d*x - c -
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d) + 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d
))*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d) - 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*ta
n(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d) + 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b
*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d) - 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*(b*c + c*d)/d) + 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d
*x)^2*tan(1/2*(b*c + c*d)/d) + 4*b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1
/2*(b*c + c*d)/d) - 4*b*c*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c +
c*d)/d) + 4*b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) -
4*b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) + 2*b^2*d
*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*d^3*real_part(
cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*b^2*d*real_part(cos_integ
ral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*d^3*real_part(cos_integral(-b*x -
d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*b^2*d*real_part(cos_integral(b*x + d*x + c
+ b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*t
an(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a
- 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a - 1/2*c)^
2*tan(1/2*(b*c + c*d)/d) - b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*(b*c + c*d)/d)^2 + b*c
*d^2*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*(b*c + c*d)/d)^2 - b^3*c*real_part(cos_integral(b*
x - d*x - c + b*c/d))*tan(1/2*(b*c + c*d)/d)^2 + b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/
2*(b*c + c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*(b*c + c*d)/d)^2 + b*c*d^2*
real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*(b*c + c*d)/d)^2 - b^3*c*real_part(cos_integral(-b*x -
d*x - c - b*c/d))*tan(1/2*(b*c + c*d)/d)^2 + b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*
(b*c + c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*
d)/d)^2 + 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2
*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*rea
l_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*real_part(c
os_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*real_part(cos_integral
(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*real_part(cos_integral(-b*x + d
*x + c - b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*real_part(cos_integral(-b*x + d*x + c - b
*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*ta
n(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d) - 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b
*x + 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d) + 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x +
1/2*d*x)^2*tan(1/2*(b*c - c*d)/d) - 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d
*x)^2*tan(1/2*(b*c - c*d)/d) + 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2
*tan(1/2*(b*c - c*d)/d) - 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/
2*(b*c - c*d)/d) + 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b
*c - c*d)/d) - 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c
*d)/d) + 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) -
2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*b^2*d*rea
l_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*d^3*real_part(cos
_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*real_part(cos_integra
l(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*real_part(cos_integral(b*x - d
*x - c + b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) - 4*b^3*c*real_part(cos_integral(-b*x + d*x + c - b
*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/d))*t
an(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)^2*ta
n(1/2*(b*c - c*d)/d) - 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b
*c - c*d)/d) + 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/
d) + 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) -
2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*b^2*d
*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*d^3*real_
part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + b^3*c*real_part(c
os_integral(b*x + d*x + c + b*c/d))*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(b*x + d*x + c +
b*c/d))*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*(b*c - c*d)/d)
^2 - b*c*d^2*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_int
egral(-b*x + d*x + c - b*c/d))*tan(1/2*(b*c - c*d)/d)^2 - b*c*d^2*real_part(cos_integral(-b*x + d*x + c - b*c/
d))*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*(b*c - c*d)/d)^2
- b*c*d^2*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_int
egral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(b*x +
d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(-b*x - d*x - c
- b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))
*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*
a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)*
tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*
(b*c - c*d)/d)^2 - 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d
)/d)^2 - 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^
2 + 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*b
^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*d^3*r
eal_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + b^2*d*imag_pa
rt(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2 - d^3*imag_part(cos_integral(b*x + d*x + c +
b*c/d))*tan(1/2*b*x + 1/2*d*x)^2 - b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)
^2 + d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x + 1/2*d*x)^2 + b^2*d*imag_part(cos_integra
l(-b*x + d*x + c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2 - d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(
1/2*b*x + 1/2*d*x)^2 - b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2 + d^3*im
ag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x + 1/2*d*x)^2 + 2*b^2*d*sin_integral((b*d*x + d^2*x +
b*c + c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2 - 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x + 1/2*
d*x)^2 - 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2 + 2*d^3*sin_integral((b*
d*x - d^2*x + b*c - c*d)/d)*tan(1/2*b*x + 1/2*d*x)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)
+ 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x) + b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/
d))*tan(1/2*b*x - 1/2*d*x)^2 - d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2 - b
^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2 + d^3*imag_part(cos_integral(b*x
- d*x - c + b*c/d))*tan(1/2*b*x - 1/2*d*x)^2 + b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b
*x - 1/2*d*x)^2 - d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2 - b^2*d*imag_pa
rt(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*b*x - 1/2*d*x)^2 + d^3*imag_part(cos_integral(-b*x - d*x - c
- b*c/d))*tan(1/2*b*x - 1/2*d*x)^2 + 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x
)^2 - 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2 - 2*b^2*d*sin_integral((b*d*x
- d^2*x + b*c - c*d)/d)*tan(1/2*b*x - 1/2*d*x)^2 + 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*
b*x - 1/2*d*x)^2 - 4*b^2*d*tan(1/2*b*x + 1/2*d*x)*tan(1/2*b*x - 1/2*d*x)^2 + 4*b*d^2*tan(1/2*b*x + 1/2*d*x)*ta
n(1/2*b*x - 1/2*d*x)^2 - 2*b^3*c*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c) + 2*b*c*d^2
*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c) + 2*b^3*c*imag_part(cos_integral(-b*x - d*x
- c - b*c/d))*tan(1/2*a + 1/2*c) - 2*b*c*d^2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*
c) - 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c) + 4*b*c*d^2*sin_integral((b*d*x +
d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c) + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c) - 4*b*d^2*tan(1
/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c) - 4*b^2*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c) + 4*b*d^2*tan(1/2
*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c) - b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)
^2 + d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2 - b^2*d*imag_part(cos_integral(b*
x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2 + d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/
2*c)^2 + b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2 - d^3*imag_part(cos_integr
al(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2 + b^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1
/2*a + 1/2*c)^2 - d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2 - 2*b^2*d*sin_integ
ral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)^2 + 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*ta
n(1/2*a + 1/2*c)^2 - 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2 + 2*d^3*sin_inte
gral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2 + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)*tan(1/2*a + 1/2*c)^2
- 4*b*d^2*tan(1/2*b*x + 1/2*d*x)*tan(1/2*a + 1/2*c)^2 + 4*b^2*d*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2 +
4*b*d^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a + 1/2*c)^2 + 2*b^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*
tan(1/2*a - 1/2*c) - 2*b*c*d^2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c) - 2*b^3*c*ima
g_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c) + 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x
+ c - b*c/d))*tan(1/2*a - 1/2*c) + 4*b^3*c*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*c) - 4*
b*c*d^2*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*c) + 4*b^2*d*tan(1/2*b*x + 1/2*d*x)^2*tan(
1/2*a - 1/2*c) + 4*b*d^2*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c) - 4*b^2*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/
2*a - 1/2*c) - 4*b*d^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c) + 4*b^2*d*tan(1/2*a + 1/2*c)^2*tan(1/2*a -
1/2*c) + 4*b*d^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) + b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d)
)*tan(1/2*a - 1/2*c)^2 - d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a - 1/2*c)^2 + b^2*d*imag_
part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)^2 - d^3*imag_part(cos_integral(b*x - d*x - c + b*
c/d))*tan(1/2*a - 1/2*c)^2 - b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)^2 + d^3*
imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)^2 - b^2*d*imag_part(cos_integral(-b*x - d*x
- c - b*c/d))*tan(1/2*a - 1/2*c)^2 + d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a - 1/2*c)^2
+ 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a - 1/2*c)^2 - 2*d^3*sin_integral((b*d*x + d^2*
x + b*c + c*d)/d)*tan(1/2*a - 1/2*c)^2 + 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*c
)^2 - 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*c)^2 - 4*b^2*d*tan(1/2*b*x + 1/2*d*x)*
tan(1/2*a - 1/2*c)^2 + 4*b*d^2*tan(1/2*b*x + 1/2*d*x)*tan(1/2*a - 1/2*c)^2 - 4*b^2*d*tan(1/2*b*x - 1/2*d*x)*ta
n(1/2*a - 1/2*c)^2 - 4*b*d^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*a - 1/2*c)^2 - 4*b^2*d*tan(1/2*a + 1/2*c)*tan(1/2*
a - 1/2*c)^2 + 4*b*d^2*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 + 2*b^3*c*imag_part(cos_integral(b*x + d*x + c
+ b*c/d))*tan(1/2*(b*c + c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*(b*c + c*d
)/d) - 2*b^3*c*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*(b*c + c*d)/d) + 2*b*c*d^2*imag_part(co
s_integral(-b*x - d*x - c - b*c/d))*tan(1/2*(b*c + c*d)/d) + 4*b^3*c*sin_integral((b*d*x + d^2*x + b*c + c*d)/
d)*tan(1/2*(b*c + c*d)/d) - 4*b*c*d^2*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*(b*c + c*d)/d) + 4*b
^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) - 4*d^3*imag_par
t(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) - 4*b^2*d*imag_part(cos_integ
ral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) + 4*d^3*imag_part(cos_integral(-b*x - d
*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) + 8*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/
d)*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) - 8*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1
/2*c)*tan(1/2*(b*c + c*d)/d) - b^2*d*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*(b*c + c*d)/d)^2 +
d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*(b*c + c*d)/d)^2 - b^2*d*imag_part(cos_integral(b*
x - d*x - c + b*c/d))*tan(1/2*(b*c + c*d)/d)^2 + d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*(b
*c + c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_par
t(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*(b*c + c*d)/d)^2 + b^2*d*imag_part(cos_integral(-b*x - d*x - c
- b*c/d))*tan(1/2*(b*c + c*d)/d)^2 - d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*(b*c + c*d)/
d)^2 - 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*(b*c + c*d)/d)^2 + 2*d^3*sin_integral((b*d*
x + d^2*x + b*c + c*d)/d)*tan(1/2*(b*c + c*d)/d)^2 - 2*b^2*d*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1
/2*(b*c + c*d)/d)^2 + 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*(b*c + c*d)/d)^2 - 4*b^2*d*tan
(1/2*b*x + 1/2*d*x)*tan(1/2*(b*c + c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x + 1/2*d*x)*tan(1/2*(b*c + c*d)/d)^2 + 4*b^2
*d*tan(1/2*b*x - 1/2*d*x)*tan(1/2*(b*c + c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x - 1/2*d*x)*tan(1/2*(b*c + c*d)/d)^2 -
4*b^2*d*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 4*b*d^2*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 4
*b^2*d*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 4*b*d^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*b
^3*c*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*(b*c - c*d)/d) + 2*b*c*d^2*imag_part(cos_integral(
b*x - d*x - c + b*c/d))*tan(1/2*(b*c - c*d)/d) + 2*b^3*c*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1
/2*(b*c - c*d)/d) - 2*b*c*d^2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*(b*c - c*d)/d) - 4*b^3*c
*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*(b*c - c*d)/d) + 4*b*c*d^2*sin_integral((b*d*x - d^2*x +
b*c - c*d)/d)*tan(1/2*(b*c - c*d)/d) - 4*b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*
c)*tan(1/2*(b*c - c*d)/d) + 4*d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b
*c - c*d)/d) + 4*b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/
d) - 4*d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) - 8*b^2*d
*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 8*d^3*sin_integral((b
*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + b^2*d*imag_part(cos_integral(b*x + d*
x + c + b*c/d))*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*(b*c - c
*d)/d)^2 + b^2*d*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*(b*c - c*d)/d)^2 - d^3*imag_part(cos_i
ntegral(b*x - d*x - c + b*c/d))*tan(1/2*(b*c - c*d)/d)^2 - b^2*d*imag_part(cos_integral(-b*x + d*x + c - b*c/d
))*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*(b*c - c*d)/d)^2 - b
^2*d*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*(b*c - c*d)/d)^2 + d^3*imag_part(cos_integral(-b*
x - d*x - c - b*c/d))*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*(
b*c - c*d)/d)^2 - 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*b^2*d*sin_int
egral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)
/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*tan(1/2*b*x + 1/2*d*x)*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2*b*x +
1/2*d*x)*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*b*x - 1/2*d*x)*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2
*b*x - 1/2*d*x)*tan(1/2*(b*c - c*d)/d)^2 - 4*b^2*d*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1
/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 4*b^2*d*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 4*b*d^2*tan(1/2
*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + b^3*c*real_part(cos_integral(b*x + d*x + c + b*c/d)) - b*c*d^2*real_par
t(cos_integral(b*x + d*x + c + b*c/d)) - b^3*c*real_part(cos_integral(b*x - d*x - c + b*c/d)) + b*c*d^2*real_p
art(cos_integral(b*x - d*x - c + b*c/d)) - b^3*c*real_part(cos_integral(-b*x + d*x + c - b*c/d)) + b*c*d^2*rea
l_part(cos_integral(-b*x + d*x + c - b*c/d)) + b^3*c*real_part(cos_integral(-b*x - d*x - c - b*c/d)) - b*c*d^2
*real_part(cos_integral(-b*x - d*x - c - b*c/d)) + 2*b^2*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(
1/2*a + 1/2*c) - 2*d^3*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c) + 2*b^2*d*real_part(c
os_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c) - 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d)
)*tan(1/2*a + 1/2*c) - 2*b^2*d*real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c) + 2*d^3*real_
part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c) - 2*b^2*d*real_part(cos_integral(-b*x + d*x + c -
b*c/d))*tan(1/2*a - 1/2*c) + 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c) - 2*b^2
*d*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*(b*c + c*d)/d) + 2*d^3*real_part(cos_integral(b*x +
d*x + c + b*c/d))*tan(1/2*(b*c + c*d)/d) - 2*b^2*d*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*(b*
c + c*d)/d) + 2*d^3*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*(b*c + c*d)/d) + 2*b^2*d*real_part
(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*(b*c - c*d)/d) - 2*d^3*real_part(cos_integral(b*x - d*x - c + b*
c/d))*tan(1/2*(b*c - c*d)/d) + 2*b^2*d*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*(b*c - c*d)/d)
- 2*d^3*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*(b*c - c*d)/d) + b^2*d*imag_part(cos_integral(
b*x + d*x + c + b*c/d)) - d^3*imag_part(cos_integral(b*x + d*x + c + b*c/d)) - b^2*d*imag_part(cos_integral(b*
x - d*x - c + b*c/d)) + d^3*imag_part(cos_integral(b*x - d*x - c + b*c/d)) + b^2*d*imag_part(cos_integral(-b*x
+ d*x + c - b*c/d)) - d^3*imag_part(cos_integral(-b*x + d*x + c - b*c/d)) - b^2*d*imag_part(cos_integral(-b*x
- d*x - c - b*c/d)) + d^3*imag_part(cos_integral(-b*x - d*x - c - b*c/d)) + 2*b^2*d*sin_integral((b*d*x + d^2
*x + b*c + c*d)/d) - 2*d^3*sin_integral((b*d*x + d^2*x + b*c + c*d)/d) - 2*b^2*d*sin_integral((b*d*x - d^2*x +
b*c - c*d)/d) + 2*d^3*sin_integral((b*d*x - d^2*x + b*c - c*d)/d) - 4*b^2*d*tan(1/2*b*x + 1/2*d*x) + 4*b*d^2*
tan(1/2*b*x + 1/2*d*x) + 4*b^2*d*tan(1/2*b*x - 1/2*d*x) + 4*b*d^2*tan(1/2*b*x - 1/2*d*x) - 4*b^2*d*tan(1/2*a +
1/2*c) + 4*b*d^2*tan(1/2*a + 1/2*c) + 4*b^2*d*tan(1/2*a - 1/2*c) + 4*b*d^2*tan(1/2*a - 1/2*c))/(b^4*d*tan(1/2
*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*
tan(1/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(
1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^4*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*
x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d^3*tan(1/2*b*x + 1/2*
d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^4*d*tan
(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d
)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(
1/2*(b*c - c*d)/d)^2 + b^4*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b
*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a
+ 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^4*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/
2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*
x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^4*d*t
an(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)
/d)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*ta
n(1/2*(b*c - c*d)/d)^2 + b^4*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c
+ c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*
c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^4*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)
^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1
/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + b^4*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2
*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^
2*tan(1/2*(b*c + c*d)/d)^2 + b^4*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(
1/2*(b*c + c*d)/d)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*
(b*c + c*d)/d)^2 + b^4*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d
)/d)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 +
b^4*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d^3*t
an(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^4*d*tan(1/2*b*x
+ 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2*b*x + 1
/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^4*d*tan(1/2*b*x + 1/2*d*x
)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*
tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^4*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/
2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/
2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^4*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan
(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^4*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*
d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*
d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^4*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^
2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*ta
n(1/2*(b*c - c*d)/d)^2 + b^4*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*
(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c
- c*d)/d)^2 + b^4*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d
)/d)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)
^2 + b^4*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b
^2*d^3*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^4*d
*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2
*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^4*d*tan(1/2*b*x + 1/2
*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x
)^2*tan(1/2*a + 1/2*c)^2 + b^4*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - b^2*
d^3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 + b^4*d*tan(1/2*b*x + 1/2*d*x)^2*ta
n(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/
2*c)^2 + b^4*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - b^2*d^3*tan(1/2*b*x - 1/2*
d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + b^4*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan
(1/2*(b*c + c*d)/d)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + b
^4*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2
*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^4*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(
b*c + c*d)/d)^2 - b^2*d^3*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^4*d*tan(1
/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a
- 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^4*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)
/d)^2 - b^2*d^3*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b^4*d*tan(1/2*a + 1/2
*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d^3*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/
2*(b*c + c*d)/d)^2 + b^4*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d^
3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 + b^4*d*tan(1/2*b*x + 1/2*d*x)^2*
tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*
(b*c - c*d)/d)^2 + b^4*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(
1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^4*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a
- 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d
)/d)^2 + b^4*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2*b*x -
1/2*d*x)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^4*d*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan
(1/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b^4*d*tan
(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*tan
(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^4*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1
/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^4
*d*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2*a + 1/2*c)^2*tan(1
/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^4*d*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*
c - c*d)/d)^2 - b^2*d^3*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b^4*d*tan(1/2
*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*b*x - 1/2*d*x)^2 + b^4*d
*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + b^4*d
*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 - b^2*d^3*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a + 1/2*c)^2 + b^4*d
*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 + b^4*d
*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 - b^2*d^3*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*a - 1/2*c)^2 + b^4*d
*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - b^2*d^3*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + b^4*d*tan(1/2
*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 + b^4*d
*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d^3*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c + c*d)/d)^2
+ b^4*d*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d^3*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2
+ b^4*d*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - b^2*d^3*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2
+ b^4*d*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2*tan(1/2*(b*c - c
*d)/d)^2 + b^4*d*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2*b*x - 1/2*d*x)^2*tan(1/2*
(b*c - c*d)/d)^2 + b^4*d*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2*a + 1/2*c)^2*tan(1/2*
(b*c - c*d)/d)^2 + b^4*d*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2*a - 1/2*c)^2*tan(1/2*
(b*c - c*d)/d)^2 + b^4*d*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2*(b*c + c*d)/d)^2*
tan(1/2*(b*c - c*d)/d)^2 + b^4*d*tan(1/2*b*x + 1/2*d*x)^2 - b^2*d^3*tan(1/2*b*x + 1/2*d*x)^2 + b^4*d*tan(1/2*b
*x - 1/2*d*x)^2 - b^2*d^3*tan(1/2*b*x - 1/2*d*x)^2 + b^4*d*tan(1/2*a + 1/2*c)^2 - b^2*d^3*tan(1/2*a + 1/2*c)^2
+ b^4*d*tan(1/2*a - 1/2*c)^2 - b^2*d^3*tan(1/2*a - 1/2*c)^2 + b^4*d*tan(1/2*(b*c + c*d)/d)^2 - b^2*d^3*tan(1/
2*(b*c + c*d)/d)^2 + b^4*d*tan(1/2*(b*c - c*d)/d)^2 - b^2*d^3*tan(1/2*(b*c - c*d)/d)^2 + b^4*d - b^2*d^3)
Mupad [F(-1)]
Timed out. \[
\int x \cos (a+b x) \text {Si}(c+d x) \, dx=\int x\,\mathrm {sinint}\left (c+d\,x\right )\,\cos \left (a+b\,x\right ) \,d x
\]
[In]
int(x*sinint(c + d*x)*cos(a + b*x),x)
[Out]
int(x*sinint(c + d*x)*cos(a + b*x), x)