Integrals involving trigonometric functions