MATLAB: Numerical integration using quad function

doit4menumerical integration

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

Best Answer

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