Although the question was most probably meant to address accuracy problems in NIntegrate it might be of interest to see how to use Mathematica to calculate the exact symbolic result of the integral.
We shall derive the exact expression for the more general integral of Gradshteyn/Ryshik 4.573.3:
fi := Integrate[
ArcCot[r x] Sin[p x]/(1 + 2 q Cos[p x] + q^2), {x, 0, \[Infinity]}]
and then take the numerical value in the end.
fi reduces to the integral of the OP by letting
rep = {r -> 1, p -> 1, q -> 2};
fop = q^2 fi /. rep;
As Mathematica does not evaluate the integral we make a series expansion with respect to the parameter q around q = 0 and integrate term by term which gives us for the first few terms (for simplicity in list format)
(2 p)/\[Pi] Integrate[
ArcCot[r x] List @@
Normal[Series[Sin[p x]/(1 + 2 q Cos[p x] + q^2), {q, 0, 3}]], {x,
0, \[Infinity]}, Assumptions -> {q^2 < 1, p > 0, r > 0}] //
Expand // Simplify
(* Out[2]= {1 - E^(-(p/r)), 1/2 (-1 + E^(-((2 p)/r))) q, 1/3 (1 - E^(-((3 p)/r))) q^2, 1/4 (-1 + E^(-((4 p)/r))) q^3} *)
It is easy to guess the general scheme and see that the these terms are generated by the formula
-1/q Table[(-q)^k (1 - Exp[-k p/r])/k, {k, 1, 4}] // Expand // Simplify
(* Out[3]= {1 - E^(-(p/r)), 1/2 (-1 + E^(-((2 p)/r))) q, 1/3 (1 - E^(-((3 p)/r))) q^2,
1/4 (-1 + E^(-((4 p)/r))) q^3} *)
Extending the range of k of the sum to infinity and assuming q^2<1, thus taking care of convergence, we obtain
filt1 = -\[Pi]/(2 p q) Sum[(-q)^k (1 - Exp[-k p/r])/k, {k, 1, \[Infinity]}] //
Simplify
(* Out[35]= (\[Pi] (Log[1 + q] - Log[1 + E^(-(p/r)) q]))/(2 p q) *)
This formula holds for q^2<1.
For q^2 > 1 we write w=1/q in the definition of fi and arrive at the formula
figt1 = w^2 filt1 /. q -> w /. w -> 1/q
(* Out[36]= (\[Pi] (Log[1 + 1/q] - Log[1 + E^(-(p/r))/q]))/(2 p q) *)
Finally, inserting the values of the parameters we find for the integral of the OP
fop = q^2 figt1 /. rep
(* Out[38]= \[Pi] (Log[3/2] - Log[1 + 1/(2 E)]) *)
And its numerical value is
N[%, 20]
(* Out[39]= 0.74335575136122777232 *)
, AccuracyGoal -> 80, WorkingPrecision -> 160
yields0.74394...
Other than that, standard techniques don't do much. $\endgroup$