Sum of Cosines and the Improper Integral of Sin(x)/x