kill(all)$

van=facebook.com/LearningCalculus$

f(x):=(cos(a*x)-cos(b*x))/x^2;

assume(a > 0, b > 0);

integrate(f(x),x,0,inf);