finite Integral in matlab

조회 수: 2 (최근 30일)
Yichao Shi
Yichao Shi 2020년 12월 10일
편집: weikang zhao 2020년 12월 11일
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
John D'Errico 2020년 12월 10일
Easy.
ans =
0.293675 - 1.20355i
What did you try?

댓글을 달려면 로그인하십시오.

답변 (1개)

weikang zhao
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)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by