Integrals of sin(x), cos(x) and sec2(x)