Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

I need to solve the following TRIPLE INTEGRAL

1 Ansicht (letzte 30 Tage)
Luigi Stragapede
Luigi Stragapede am 13 Jul. 2020
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I need to solve the following triple integral:
The input data are:
np=10;
sigmac=16e6;
tau=0.9;
a=10e-3;
b=10e-3;
c=5e-3;
d=5e-3;
e=8e-3;
za=a;
zb=za+b;
zc=zb+c;
zd=zc+d;
ze=zd+e;
R1=25e-3;
R2=65e-3;
R3=90e-3;
A4d=1.62e-04-9.53e-04i;
B4d=1.03e+12-2.13e+12i;
gamma4=5.90e+02+2.14e+02i;
alfak=550.0686;
OMEGA=1;
t=10;
and:
I tried to use this code but it gives me some errors:
Xr4=A4d*exp(gamma4*z)+B4d*exp(-gamma4*z);
Jr4=real((Xr4*(1/R)*besselj(np,alfak*R)*exp(1i*np*(theta-OMEGA*t))));
Jtheta4=real((1i*(1/np)*Xr4*(alfak*besselj(np-1,alfak*R)-(np/R)*besselj(np,alfak*R))*exp(1i*np*(theta-OMEGAt))));
fun_r= @(R, theta, z) abs(Jr4)^2*R;
fun_theta=@(R, theta, z) abs(Jtheta4)^2*R;
P_4=(1/sigmac)*integral3(fun_r,R1,R2,0,tau,z3,z4)+integral3(fun_theta,R1,R2,0,tau,z3,z4);
P_5=(1/sigmac)*integral3(fun_r,0,R1,0,tau,z3,z4)+integral3(fun_theta,0,R1,0,tau,z3,z4);
P_6=(1/sigmac)*integral3(fun_r,R2,R3,0,tau,z3,z4)+integral3(fun_theta,R2,R3,0,tau,z3,z4);
  5 Kommentare
Walter Roberson
Walter Roberson am 13 Jul. 2020
Change all / to ./
Change all ^ to .^
Change all * to .*
Luigi Stragapede
Luigi Stragapede am 13 Jul. 2020
ok thanks. It works.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by