integration of a vector

11 visualizzazioni (ultimi 30 giorni)
Erdem Aktürk
Erdem Aktürk il 8 Gen 2023
Risposto: Paul il 8 Gen 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 ?

Risposte (1)

Paul
Paul il 8 Gen 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 = 

Categorie

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

Community Treasure Hunt

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

Start Hunting!

Translated by