Integrals and Trigonometry