フィルターのクリア

Solving Double integral equations

2 ビュー (過去 30 日間)
chizom wornu
chizom wornu 2022 年 10 月 1 日
コメント済み: chizom wornu 2022 年 10 月 1 日
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);

採用された回答

Torsten
Torsten 2022 年 10 月 1 日
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
  1 件のコメント
chizom wornu
chizom wornu 2022 年 10 月 1 日
Thank you.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePartial Differential Equation Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by