Numerical integration using quad function

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

Accepted Answer

Youssef  Khmou
Youssef Khmou on 9 Apr 2013
hi , try :
>>F=@(x) sqrt(x);
>>I=quad(F,0,10)

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!