Numerical integration using quad function

Numerically integrate using the quad function.
10
I(x)= sqrt(x)dx
0
Can anyone help me out with this?

 採用された回答

Youssef  Khmou
Youssef Khmou 2013 年 4 月 9 日

0 投票

hi , try :
>>F=@(x) sqrt(x);
>>I=quad(F,0,10)

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by