integration of a vector

11 Ansichten (letzte 30 Tage)
Erdem Aktürk
Erdem Aktürk am 8 Jan. 2023
Beantwortet: Paul am 8 Jan. 2023
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 Kommentar
Jan
Jan am 8 Jan. 2023
Please post the code you use.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Paul
Paul am 8 Jan. 2023
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 = 

Kategorien

Mehr zu Numerical Integration and Differential Equations finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by