Integrate[cos(n (y-π/2-a/b))1/√(y),y]