Applications of trigonometric integrals