フィルターのクリア

How can i find a variable that is in the infinite series?

2 ビュー (過去 30 日間)
Burak Akayoglu
Burak Akayoglu 2020 年 12 月 6 日
コメント済み: Burak Akayoglu 2020 年 12 月 8 日
Hello everyone,
I'm trying to learn MATLAB on my own, and I have a problem. I got this equation and i know everything except 'L' in the infinite series. I need to find it, but i couldn't solve it when it is in the infinite series.
Deff=(2.02)*10^(-10);
t=22320;
a=0.1425; % a is equal to ((X-X*)/(X0-X*))*(pi^2)/8
n=1:10000;
Ser = @(L) sum((exp(((pi^2)*(-1)*Deff*t*(2*n-1))./(4*L.^2))/((2*n-1).^2)));
L = fzero(@(L) Ser(L)-a,0)
I wrote this but i couldn't find L. Could someone help me please??

採用された回答

David Hill
David Hill 2020 年 12 月 8 日
Deff=(2.02)*10^(-10);
t=22320;
a=0.1425;
n=1:100000;
Ser = @(L) sum(1./(2*n-1).^2.*exp(-(2*n-1).^2*pi^2*Deff*t/4/L^2));
l= fzero(@(L) Ser(L)-a,.0024);
  3 件のコメント
David Hill
David Hill 2020 年 12 月 8 日
Just needs to be relatively close to the root. Just plugged in a few numbers of L.
Burak Akayoglu
Burak Akayoglu 2020 年 12 月 8 日
thank you very much David

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMathematics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by