Numerical integration using quad function

3 vues (au cours des 30 derniers jours)
Dave Smith
Dave Smith le 9 Avr 2013
Numerically integrate using the quad function.
10
I(x)= sqrt(x)dx
0
Can anyone help me out with this?

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by