Here we look at the plot of the integrand
In[]:=
fun[x_]:=Cos[x]Log[+4]
2
x
In[]:=
Plot[fun[x],{x,0,100}]
Out[]=
Here we look at the integral of the integrand over x∈[0,∞)
In[]:=
derived=Integrate[fun[x],{x,0,∞}]
Out[]=
∞
∫
0
2
x
In[]:=
derived//N
Out[]=
-0.425168
In[]:=
actual=-
π
Exp[1]^2
Out[]=
-
π
2
In[]:=
actual//N
Out[]=
-0.425168
In[]:=
{derived,actual}
Out[]=
Cos[x]Log[4+]x,-
∞
∫
0
2
x
π
2