finite Integral in matlab
이전 댓글 표시
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
John D'Errico
2020년 12월 10일
Easy.
ans =
0.293675 - 1.20355i
What did you try?
답변 (1개)
weikang zhao
2020년 12월 11일
편집: weikang zhao
2020년 12월 11일
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)
카테고리
도움말 센터 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!