Write a function to compute the following integral
I = integral(sin(x)^m cos(x)^n, {x,0,pi})
where m and n are integers. You may not use integral or quad but other functions are allowed.

Solution Stats

57 Solutions

12 Solvers

Last Solution submitted on Jul 28, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...