finite Integral in matlab
Afficher commentaires plus anciens
How to integrate functions in matlab?
fun = sqrt[10/(3*9.81)] / sqrt[-2*cos(x) - sin(x) + 2*cos(pi/6)-sin(pi/6)]
from 0 to pi/2
Thanks
1 commentaire
John D'Errico
le 10 Déc 2020
Easy.
ans =
0.293675 - 1.20355i
What did you try?
Réponses (1)
weikang zhao
le 11 Déc 2020
Modifié(e) : weikang zhao
le 11 Déc 2020
use the numerical integration function "integral"
integral(@(x) sqrt(10/(3*9.81)) ./ sqrt(-2*cos(x) - sin(x) + 2*cos(pi/6)-sin(pi/6)),0,pi/2)
Catégories
En savoir plus sur Numerical Integration and Differentiation dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!