Problem 51137. Compute an integral of a product of sinusoids

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

16.22% Correct | 83.78% Incorrect
Last Solution submitted on Mar 18, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers6

Suggested Problems

More from this Author244

Community Treasure Hunt

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

Start Hunting!