integration of a vector

조회 수: 7 (최근 30일)
Erdem Aktürk
Erdem Aktürk 2023년 1월 8일
답변: Paul 2023년 1월 8일
3*cos(phi)*(9*cos(phi)*cos(theta)^2*sin(phi) + 9*cos(phi)*sin(phi)*sin(theta)^2) + 9*cos(3*cos(theta)*sin(phi))*sin(phi)^2*sin(theta) + 9*sin(3*cos(theta)*sin(phi))*cos(theta)*sin(phi)^2
this my integrand.
I want to integrate it with this.
int(integrand,phi,phi0,phi1)
but I get sigma sign in the answer of this integral even though I do not use sigma sign.
Why is that happening ?
  댓글 수: 1
Jan
Jan 2023년 1월 8일
Please post the code you use.

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

답변 (1개)

Paul
Paul 2023년 1월 8일
I'm not sure what "sigma sign" is, but running here, without any manipulation of integrand, does not yield a result that contains a "sigma sign." The live script display does simplify the display of the result by showing it in terms of sigma_1, but that's an expression: sigma_1 = 3*cos(theta)*sin(phi)
syms phi theta phi0 phi1
integrand = 3*cos(phi)*(9*cos(phi)*cos(theta)^2*sin(phi) + 9*cos(phi)*sin(phi)*sin(theta)^2) + 9*cos(3*cos(theta)*sin(phi))*sin(phi)^2*sin(theta) + 9*sin(3*cos(theta)*sin(phi))*cos(theta)*sin(phi)^2
integrand = 
int(integrand,phi,phi0,phi1)
ans = 

카테고리

Help CenterFile Exchange에서 Numerical Integration and Differential Equations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by