Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Problem in double integration

1 回表示 (過去 30 日間)
Rajalakshmi Rengasamy
Rajalakshmi Rengasamy 2014 年 3 月 13 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
syms x;
syms y;
w0=0.46*10^-6;
a = 100*10^-6;
w1 = 0.401;
w2 = 1.611;
d0= 1*10^-6;
e0 = 8.854*10^(-12);
xmin = 0;
xmax = 200*10^-6;
ymin = 0;
ymax = 200*10^-6;
c = @(x,y) 1./(d0 - (w0 + w1.*(x.^2 + y.^2)/a.^2 + w2.*x.^2.*y.^2./a.^4) .* cos(pi.*x./(2.*a)).^2 .* cos(pi.*y./(2.*a)).^2)
quad2d(c,xmin,xmax,ymin,ymax)
I'm trying this code and getting errors like "Reached the maximum number of function evaluations (100000). The result fails the global error test.". the i tried the following options
'Abstol',1e-4,'reltol',1e-4,'Singular',true, 'FailurePlot',true,'MaxFunEvals', 100000
and got the answer in the order of 10^-5. But the value i have to get should be in the range of 10^-15. What might be the problem

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by