finite Integral in matlab

2 visualizzazioni (ultimi 30 giorni)
Yichao Shi
Yichao Shi il 10 Dic 2020
Modificato: weikang zhao il 11 Dic 2020
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

Risposte (1)

weikang zhao
weikang zhao il 11 Dic 2020
Modificato: weikang zhao il 11 Dic 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)

Categorie

Scopri di più su Numerical Integration and Differential Equations in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by