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

45 Solutions

10 Solvers

Last Solution submitted on Jan 09, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Group


Problem Recent Solvers10

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!