Effacer les filtres
Effacer les filtres

Solving Double integral equations

2 vues (au cours des 30 derniers jours)
chizom wornu
chizom wornu le 1 Oct 2022
Commenté : chizom wornu le 1 Oct 2022
I tried implementing this double integral equations. However, am getting error when i implemented with the following equation
u_0 = 1.25663706*1e-6; % permeability of free space
L = 12.4; % Axial distance between rotor back plates
p =8; % Number of pole pairs
R1 = 55; % Inner radii of magnets
R2 = 100; % Outer radii of magnets
Kn = 1;
n=1
n = 1
x=0.05
x = 0.0500
sol1 =integral2(@(R,y)u_0*Kn*((cosh(n*p*L*0.5*.1/R))./(sinh(n*p*L*.1/R))).*cosh(n*p*(L-y)*.1/R).*cos(n*p*(xx(x))*.1/R),R1,R2,0,1)
Error using /
Matrix dimensions must agree.

Error in solution (line 13)
sol1 =integral2(@(R,y)u_0*Kn*((cosh(n*p*L*0.5*.1/R))./(sinh(n*p*L*.1/R))).*cosh(n*p*(L-y)*.1/R).*cos(n*p*(xx(x))*.1/R),R1,R2,0,1)

Error in integral2Calc>integral2t/tensor (line 228)
Z = FUN(X,Y); NFE = NFE + 1;

Error in integral2Calc>integral2t (line 55)
[Qsub,esub] = tensor(thetaL,thetaR,phiB,phiT);

Error in integral2Calc (line 9)
[q,errbnd] = integral2t(fun,xmin,xmax,ymin,ymax,optionstruct);

Error in integral2 (line 105)
Q = integral2Calc(fun,xmin,xmax,yminfun,ymaxfun,opstruct);

Réponse acceptée

Torsten
Torsten le 1 Oct 2022
u_0 = 1.25663706*1e-6; % permeability of free space
L = 12.4; % Axial distance between rotor back plates
p =8; % Number of pole pairs
R1 = 55; % Inner radii of magnets
R2 = 100; % Outer radii of magnets
Kn = 1;
n=1
n = 1
x=0.05
x = 0.0500
sol1 =integral2(@(R,y)u_0*Kn*((cosh(n*p*L*0.5./R))./(sinh(n*p*L./R))).*cosh(n*p*(L-y)./R).*cos(n*p*x./R),R1,R2,0,1)
sol1 = 7.7928e-05

Plus de réponses (0)

Catégories

En savoir plus sur Partial Differential Equation Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by