Cosine product integration