User Portlet User Portlet

Discussions
Dear All, I am trying to find Integral[Cos[x]/x,{x,0,infinite}]. Integrate can not give a result since the expression is divergent. However, NIntegrate gives a result that I do not trust. Integrate[1/x Cos[x], {x, 0, \[Infinity]}] ...
[@Hans Dolhaine][at0] Great ! Many thanks. How can you define the intervals of a,b and c? [at0]: https://community.wolfram.com/web/hdolhaine