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개)

카테고리

도움말 센터 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by