Double sum with odd number

I'm not sure how to calculate this sum. Anyone has an idea, please?
n = [1:2:1000];
gamma = 1;
ss = sum(sum((2./(n.*pi)).^6.*(3.*(1 - tanh(n.*pi./(2*gamma))./(n.*pi./(2*gamma)))) - (tanh(n.*pi./(2*gamma))).^2));

3 件のコメント

Torsten
Torsten 2023 年 6 月 27 日
What does the second "sum" symbol sum over ?
Loïc M.
Loïc M. 2023 年 6 月 27 日
I don't know. Here is the complete equation
Torsten
Torsten 2023 年 6 月 27 日
編集済み: Torsten 2023 年 6 月 27 日
From the equation, I don't know either. But you should try to find it out.

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

回答 (1 件)

VBBV
VBBV 2023 年 6 月 27 日

0 投票

n = [1:2:1000];
gamma = 1;
ss = sum(sum((2./(n.*pi)).^6.*(3.*(1 - tanh(n.*pi./(2*gamma))./(n.*pi./(2*gamma))) - tanh(n.*pi./(2*gamma)).^2)))
ss = 0.0272

3 件のコメント

VBBV
VBBV 2023 年 6 月 27 日
The image shows odd values for n in outer summation, but does not tell anything about nature of inner summation. Can you tell more about it ? Does it mean both inner & outer summation are both odd values for n, or ?
Loïc M.
Loïc M. 2023 年 6 月 27 日
I don't know. Here is the complete equation
VBBV
VBBV 2023 年 6 月 27 日
Ok, it looks like its double sum over odd integer values for that term as you assumed it i.e.
n = [1:2:1000];

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

カテゴリ

ヘルプ センター および File ExchangeGamma Functions についてさらに検索

タグ

質問済み:

2023 年 6 月 27 日

コメント済み:

2023 年 6 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by