I could only solve this problem via brute force, trying every value from $m = 1$ to $10$...
What is the more efficient and proper method of approach?
(Note: my method involved repeated usage of the product-to-sum trig identity to achieve a simplified result of the integrand; but is there a way to generalize this simplified result for all $m \in [1,10]$?)
Thanks